summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-01-24 10:58:04 -0800
committerEric Anholt <eric@anholt.net>2014-01-27 09:30:47 -0800
commit9af66851e2770bcd8408a0e5ddf8bb8ea816feaa (patch)
tree936ae75f880a60c8a4b72b396a7add78f19c3161 /glamor
parenta7b8ce8b4207a93c0455a0b796cfc47917c04a9c (diff)
glamor: Disable definitions of GL extension prototypes to avoid warnings.
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>
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_priv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 9f0c5583f..8ccf4faef 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -35,8 +35,6 @@
#endif
#include "glamor.h"
-#define GL_GLEXT_PROTOTYPES
-
#ifdef GLAMOR_GLES2
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>