glx: Reduce compiler warnings by not requesting GL extension prototypes.
They're not officially in the ABI, so you shouldn't use them anyway. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
87c4551c9c
commit
0c774d53c5
|
@ -46,7 +46,6 @@
|
||||||
#include <resource.h>
|
#include <resource.h>
|
||||||
#include <scrnintstr.h>
|
#include <scrnintstr.h>
|
||||||
|
|
||||||
#define GL_GLEXT_PROTOTYPES /* we want prototypes */
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
#include <GL/glxproto.h>
|
#include <GL/glxproto.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user