remove redundant for us opengl loading code from glad.c

This commit is contained in:
veclavtalica committed 2025-02-10 14:05:19 +03:00
1 parent 5ba11dc584
commit c81f95e571
2 files changed
+1 -133

No files matched your search

+1 -1
View File
@@ -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;
}