remove redundant for us opengl loading code from glad.c
This commit is contained in:
@ -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