Fix T44265: Win32 error checking GL version

This commit is contained in:
Campbell Barton 2015-04-05 09:57:10 +10:00
parent 59bfc5c76e
commit a1c2b1a8a8
Notes: blender-bot 2023-02-14 09:16:49 +01:00
Referenced by issue #44276, panel scrollbars shortcut keys now making timeline jump to next keyframe.
Referenced by issue #44278, Sticky Keys: TabKey cannot be used to enter editmode
Referenced by issue #44265, GHOST_ContextWGL.cpp version check, checks the major version (version[0]) twice.
Referenced by issue #44261, anim player has stopped updating the editor's windows.
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ GHOST_TSuccess GHOST_ContextWGL::initializeDrawingContext()
if (!s_warn_old) {
if ((strcmp(vendor, "Microsoft Corporation") == 0 ||
strcmp(renderer, "GDI Generic") == 0) && version[0] == '1' && version[0] == '1')
strcmp(renderer, "GDI Generic") == 0) && version[0] == '1' && version[2] == '1')
{
MessageBox(m_hWnd, "Your system does not use 3D hardware acceleration.\n"
"Such systems can cause stability problems in Blender and they are unsupported.\n\n"