Blender Git Commit Log
Git Commits -> Revision e210d82
Revision e210d82 by Sergey Sharybin (master) April 11, 2011, 19:22 (GMT) |
FIx crash when opening User Preferences even with NVidia card This crash was discovered by Dalai and this happened because of unset current context (as result of call wglMakeCurrent(NULL, NULL)). In this case glGetString(GL_VENDOR) returns NULL. Rather than add check for vendor != NULL before string comparison, I've changed a bit logic of context creation: - Create context and set it as current - If it's crappy Intel card -- delete this context and share the only one context between all Windows - Otherwise, use initial logic (with sharing lists and so on) This could also fix crash when opening userprefs from a menu with Intel card. |
Commit Details:
Full Hash: e210d82f17c89b92e8c9c60ff059c9f1d644b155
SVN Revision: 36104
Parent Commit: 9699592
Lines Changed: +65, -27
1 Modified Path:
/intern/ghost/intern/GHOST_WindowWin32.cpp (+65, -27) (Diff)