remove redundant for us opengl loading code from glad.c

This commit is contained in:
veclavtalica
2025-02-10 13:33:18 +03:00
parent 5ba11dc584
commit c81f95e571
2 changed files with 1 additions and 133 deletions

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;
}