On 21.10.2013 21:51, Henri Verbeet wrote:
On 21 October 2013 21:20, Rico Schüller kgbricola@web.de wrote:
As wgl.h is a bit out of date, it still uses the GL_MIRROR_CLAMP_TO_EDGE_ATI instead of GL_MIRROR_CLAMP_TO_EDGE (which is only available in headers for OpenGL 4.4).
The wine/wgl.h header is generated from the GL .spec files by dlls/opengl32/make_opengl, so in principle all you'd have to do would be to run that script to get the new constant. Unfortunately Khronos seems to have decided to no longer update the .spec files, since there are shiny new XML files now.
Well, I did a small update for the script (it may need some improvements...). Please see the attached patch for make_opengl. I have several questions to this: 1. Is it the correct way to just change the script or do we prefer another way? 2. Is it fine to use XML::Simple as a dependency? 3. Do we need to support gles functions and enums? 4. Why was $pseudo_to_opengl used in the script?
Cheers Rico