summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-06-02 18:20:59 +0200
committerraysan5 <[email protected]>2016-06-02 18:20:59 +0200
commitc286bea8e13a84fd78a9f6211de086398a6f9a06 (patch)
tree1f43b337f2442a98b8973b9c5a2a2337cf8fb663 /src/rlgl.c
parent4fb3103dfaa797685ed8b9db647ac7d9f08f89bd (diff)
downloadraylib-c286bea8e13a84fd78a9f6211de086398a6f9a06.tar.gz
raylib-c286bea8e13a84fd78a9f6211de086398a6f9a06.zip
Remove GLEW dependency
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index cca48ba2..cfa6e2e6 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -48,8 +48,6 @@
#ifdef __APPLE__
#include <OpenGL/gl3.h> // OpenGL 3 library for OSX
#else
- //#define GLEW_STATIC
- //#include <GL/glew.h> // GLEW header, includes OpenGL headers
#include "glad.h" // GLAD library, includes OpenGL headers
#endif
#endif
@@ -912,8 +910,8 @@ void rlglInit(void)
vaoSupported = true;
npotSupported = true;
- // NOTE: We don't need to check again supported extensions but we do (in case GLEW is replaced sometime)
// We get a list of available extensions and we check for some of them (compressed textures)
+ // NOTE: We don't need to check again supported extensions but we do (GLAD already dealt with that)
glGetIntegerv(GL_NUM_EXTENSIONS, &numExt);
const char *extList[numExt];