[Bf-blender-cvs] [a1c2b1a] master: Fix T44265: Win32 error checking GL version
Campbell Barton
noreply at git.blender.org
Sun Apr 5 01:57:45 CEST 2015
Commit: a1c2b1a8a88e2046ff48279dcb0a2b5a71ac14b4
Author: Campbell Barton
Date: Sun Apr 5 09:57:10 2015 +1000
Branches: master
https://developer.blender.org/rBa1c2b1a8a88e2046ff48279dcb0a2b5a71ac14b4
Fix T44265: Win32 error checking GL version
===================================================================
M intern/ghost/intern/GHOST_ContextWGL.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index d155e68..979dc54 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -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"
More information about the Bf-blender-cvs
mailing list