forked from enlightenment/efl
fix warning when using some extensions defined in glext.h
SVN revision: 39341
This commit is contained in:
parent
970a2eb7bd
commit
5a8ce91119
|
@ -23,15 +23,17 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#ifdef BUILD_ENGINE_GL_GLEW
|
||||
#include <GL/glew.h>
|
||||
# include <GL/glew.h>
|
||||
#else
|
||||
# define GL_GLEXT_PROTOTYPES
|
||||
#endif /* BUILD_ENGINE_GL_GLEW */
|
||||
|
||||
#ifdef BUILD_ENGINE_GL_QUARTZ
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
# include <OpenGL/gl.h>
|
||||
# include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
# include <GL/gl.h>
|
||||
# include <GL/glu.h>
|
||||
#endif /* BUILD_ENGINE_GL_QUARTZ */
|
||||
|
||||
typedef struct _Evas_GL_Context Evas_GL_Context;
|
||||
|
|
Loading…
Reference in New Issue