diff options
| author | raysan5 <[email protected]> | 2016-06-02 18:20:59 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-06-02 18:20:59 +0200 |
| commit | c286bea8e13a84fd78a9f6211de086398a6f9a06 (patch) | |
| tree | 1f43b337f2442a98b8973b9c5a2a2337cf8fb663 /src/rlgl.c | |
| parent | 4fb3103dfaa797685ed8b9db647ac7d9f08f89bd (diff) | |
| download | raylib-c286bea8e13a84fd78a9f6211de086398a6f9a06.tar.gz raylib-c286bea8e13a84fd78a9f6211de086398a6f9a06.zip | |
Remove GLEW dependency
Diffstat (limited to 'src/rlgl.c')
| -rw-r--r-- | src/rlgl.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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]; |
