OpenGL32: remove glx context
thunderbird2k at gmx.net
Fri Nov 3 14:55:36 CST 2006
This patch removes creation of a GLX context at opengl32 startup.
The old code created a GLX context at startup, so that programs could call glGet* functions like glGetString before creating an OpenGL context. The OpenGL standards don't allow this and I verified this on winxp/win98 and as expected calling glGet* before creating a context returns NULL as documented everywhere.
The the code was originally added for a game called Homeworld which called wglGet* before creating a context. Atleast the first version of the game made this call but I haven't seen this behaviour in the source code of the game (which is public). Most likely it was a bug in the first version of the game.
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3687 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061103/5ea6e658/wgl_remove_glx_context.bin
More information about the wine-patches