Merge pull request #6960 from sum2012/dx9

Add more information for directx 9 error
This commit is contained in:
Henrik Rydgård 2014-09-28 15:09:24 +02:00
commit 91eb8b7cb1

View File

@ -132,7 +132,7 @@ unsigned int WINAPI TheThread(void *)
Reporting::ReportMessage("Graphics init error: %s", error_string.c_str());
const char *defaultErrorOpenGL = "Failed initializing graphics. Try upgrading your graphics drivers.\n\nWould you like to try switching to DirectX 9?\n\nError message:";
const char *defaultErrorDirect3D9 = "Failed initializing graphics. Try upgrading your graphics drivers.\n\nWould you like to try switching to OpenGL?\n\nError message:";
const char *defaultErrorDirect3D9 = "Failed initializing graphics. Try upgrading your graphics drivers and directx 9 runtime.\n\nWould you like to try switching to OpenGL?\n\nError message:";
const char *genericError;
int nextBackend = GPU_BACKEND_DIRECT3D9;
switch (g_Config.iGPUBackend) {