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

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"