[Bug 36506] Wolfenstein - The New Order fails to start (glGetString(GL_VENDOR) without a current WGL context)
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri May 23 20:42:50 CDT 2014
http://bugs.winehq.org/show_bug.cgi?id=36506
Eike Hein <hein at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hein at kde.org
--- Comment #10 from Eike Hein <hein at kde.org> ---
Created attachment 48594
--> http://bugs.winehq.org/attachment.cgi?id=48594
Patch to make glGetString() do something "useful" without a context
I ran into this independently and am attaching my personal patch here for
posterity only. It's not a reasonable solution since it hardcodes returning
NVIDIA Corporation for GL_VENDOR if the context is null - an earlier comment
suggests always returning null is good enough (and in fact, returning anything
else could also send calling code down a bad path), but I wasn't sure what the
game wanted the value for so I decided to return the right thing for my system
at the time, and it worked for me.
--
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