forked from bartvdbraak/blender
Fix broken windows 'MessageBox' calls (UI messages).
Reported by Bzzt_Ploink on IRC.
This commit is contained in:
parent
edb2e96cd5
commit
0b422900c8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user