glamor: Disable definitions of GL extension prototypes to avoid warnings.
authorEric Anholt <eric@anholt.net>
Fri, 24 Jan 2014 18:58:04 +0000 (10:58 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 27 Jan 2014 17:30:47 +0000 (09:30 -0800)
We're not using the extension prototypes, since you have to dlsym them
anyway.  Disabling their definitions prevents them from being defined
twice (once by gl.h, once by glext.h).

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
glamor/glamor_priv.h

index 9f0c558..8ccf4fa 100644 (file)
@@ -35,8 +35,6 @@
 #endif
 #include "glamor.h"
 
-#define GL_GLEXT_PROTOTYPES
-
 #ifdef GLAMOR_GLES2
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>