Remove conflicting glext.h

This commit is contained in:
wangqr 2019-09-07 22:29:23 -04:00
parent bf28e7efc3
commit 81160b2ec0
2 changed files with 5 additions and 10280 deletions

File diff suppressed because it is too large Load diff

View file

@ -28,7 +28,11 @@
#include <OpenGL/glext.h> #include <OpenGL/glext.h>
#else #else
#include <GL/gl.h> #include <GL/gl.h>
#include "gl/glext.h" #endif
#ifndef GL_GLEXT_VERSION
// The following typedef is copied from glext.h
typedef void (*PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei drawcount);
#endif #endif
static const float deg2rad = 3.1415926536f / 180.f; static const float deg2rad = 3.1415926536f / 180.f;