Files
blender/intern
Sergey Sharybin e210d82f17 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.
2011-04-11 19:22:43 +00:00
..
2011-02-25 10:32:33 +00:00
2011-02-25 10:44:20 +00:00
2011-02-25 10:51:01 +00:00
2011-03-27 07:56:29 +00:00
2011-02-25 11:49:19 +00:00
2011-02-25 11:50:46 +00:00
2011-02-25 11:51:19 +00:00