remove redundant for us opengl loading code from glad.c
This commit is contained in:
1 parent
5ba11dc584
commit
c81f95e571
2 files changed
+1
-133
No files matched your search
@@ -35,7 +35,7 @@ static void APIENTRY opengl_log(GLenum source,
|
||||
|
||||
|
||||
bool render_init(void) {
|
||||
if (gladLoadGL() == 0) {
|
||||
if (gladLoadGLLoader(&SDL_GL_GetProcAddress) == 0) {
|
||||
CRY("Init", "GLAD failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user