GL/gl.h provides some definitions (GL_FALSE, GL_ONE, etc) that have the same value as other gl headers but are represented differently (0 vs 0x0 and 1 vs 0x1). This causes compiler warnings about redefining such definitions when including GL/gl.h with other gl headers. The Khronos gl headers are consistent.
Created attachment 70909 [details] [review] remove compiler warnings when including GL/gl.h with other gl headers
Just curious: why are you including both OpenGL's gl.h and other Khronos (ES?) headers in the same file? The changes look OK to me and I can commit them later.
(In reply to comment #2) > Just curious: why are you including both OpenGL's gl.h and other Khronos > (ES?) headers in the same file? I am experimenting with having both opengl and ES support in an application.
OK, committed. ac24d172582cdb7a79098ca43ca8870712a98068
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.