Fix broken windows 'MessageBox' calls (UI messages).

Reported by Bzzt_Ploink on IRC.
This commit is contained in:
Bastien Montagne 2015-11-24 15:11:28 +01:00
parent edb2e96cd5
commit 0b422900c8
1 changed files with 5 additions and 5 deletions

View File

@ -927,14 +927,14 @@ GHOST_TSuccess GHOST_ContextWGL::initializeDrawingContext()
" Blender needs a graphics card driver to work correctly.\n"
"* Accessing Blender through a remote connection.\n"
"* Using Blender through a virtual machine.\n\n",
"The program will now close\n"
"Blender - Can't detect 3D hardware accelerated Driver!", MB_OK | MB_ICONERROR);
"The program will now close Blender - Can't detect 3D hardware accelerated Driver!",
MB_OK | MB_ICONERROR);
exit(0);
}
else if (version[0] < '2' || (version[0] == '2' && version[2] < '1')) {
MessageBox(m_hWnd, "Blender requires a graphics driver with OpenGL 2.1 support\n"
"The program will now close\n",
"Blender - Unsupported Graphics Driver!", MB_OK | MB_ICONERROR);
MessageBox(m_hWnd, "Blender requires a graphics driver with OpenGL 2.1 support\n",
"The program will now close Blender - Unsupported Graphics Driver!",
MB_OK | MB_ICONERROR);
exit(0);
}