[Bug 30270] Wine doesn't detect opengl/wgl extensions anymore

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 2 11:51:50 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30270

James Eder <jimportal at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jimportal at gmail.com

--- Comment #10 from James Eder <jimportal at gmail.com> 2012-04-02 11:51:50 CDT ---
  err:wgl:is_extension_supported No OpenGL extensions found, check if your
OpenGL setup is correct!

This happens because in dlls/opengl32/wgl.c wine_glGetString takes this path

  /* this is for buggy nvidia driver, crashing if called from a different
     thread with no context */
  if(wglGetCurrentContext() == NULL)
    return NULL;

The check has been there since mid 2008
(d6a6b88f1904783157245cae0b3f5a8d3de1ec20).  I don't know much about how all
this works but it does crash without the check.  I wonder (with my uneducated
guessing) if it would be better for Wine to try harder to work around the
"buggy nvidia driver" behavior rather than simply failing.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list