mesa: fix compiler warnings when including GL/gl.h with other gl headers
authorMatthew Waters <ystreet00@gmail.com>
Sun, 2 Dec 2012 11:28:34 +0000 (22:28 +1100)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Dec 2012 16:08:52 +0000 (09:08 -0700)
commitac24d172582cdb7a79098ca43ca8870712a98068
tree7503a67c2a58559a2daf3a192a7df4644df330bc
parent5e99cd915921d7b863a66badf09941f11120c6ab
mesa: fix compiler warnings when including GL/gl.h with other gl headers

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.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=57802

Signed-off-by: Brian Paul <brianp@vmware.com>
include/GL/gl.h