WineD3D: dynamicly load opengl

Roderick Colenbrander thunderbird2k at
Mon Aug 13 18:06:36 CDT 2007


Dynamicly load opengl. All gl functions are GL 1.1 functions are defined as 
function pointers which are loaded dynamicly. Because I used the same name 
for the function pointers as for the GL functions, I had to remove the gl.h 
dependency. This required me to import lots of GL constants from Mesa. 
WineD3D is now independent of opengl headers. The constant changes could have 
been put in a different patch but then they would have to be disabled by an 
ifdef to prevent header conflicts (gl headers don't nicely define GL_VERSION 

Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Dynamicly-load-opengl.-All-gl-functions-are-GL-1.1-f.patch.gz
Type: application/x-gzip
Size: 13005 bytes
Desc: not available
Url :

More information about the wine-patches mailing list