From 9af66851e2770bcd8408a0e5ddf8bb8ea816feaa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 24 Jan 2014 10:58:04 -0800 Subject: [PATCH] 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 Reviewed-by: Zhigang Gong --- glamor/glamor_priv.h | 2 -- 1 file changed, 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 #include