[Mesa-dev] [PATCH kmscube 5/5] Remove unneeded GL_GLEXT_PROTOTYPES define

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 13 15:28:32 UTC 2017


The define itself is sort of a hack for cases where one wants to static
link against extensions instead of calling {egl,glX}GetProcAddress as
clearly documented. Since out code is sane enough to not depend on
these, simply drop the quirky define.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 common.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common.h b/common.h
index 2c27082..57f4610 100644
--- a/common.h
+++ b/common.h
@@ -24,7 +24,6 @@
 #ifndef _COMMON_H
 #define _COMMON_H
 
-#define GL_GLEXT_PROTOTYPES 1
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>
 #include <EGL/egl.h>
-- 
2.11.1



More information about the mesa-dev mailing list