http://bugs.winehq.org/show_bug.cgi?id=36506
Eike Hein hein@kde.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hein@kde.org
--- Comment #10 from Eike Hein hein@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.