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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 2 12:29:44 CDT 2012


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

--- Comment #11 from Sebastian <nil094 at yahoo.com> 2012-04-02 12:29:44 CDT ---
(In reply to comment #10)
>   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.

Interesting concept, care to create a patch?

-- 
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