fix warning when using some extensions defined in glext.h

SVN revision: 39341
This commit is contained in:
Vincent Torri 2009-03-03 06:07:08 +00:00
parent 970a2eb7bd
commit 5a8ce91119
1 changed files with 7 additions and 5 deletions

View File

@ -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;