mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-18 21:10:44 +01:00
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>
This commit is contained in:
parent
a7b8ce8b42
commit
9af66851e2
1 changed files with 0 additions and 2 deletions
|
|
@ -35,8 +35,6 @@
|
|||
#endif
|
||||
#include "glamor.h"
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
|
||||
#ifdef GLAMOR_GLES2
|
||||
#include <GLES2/gl2.h>
|
||||
#include <GLES2/gl2ext.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue