Skip to content

Commit

Permalink
Fix OpenGL 3.0 check
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-1000 committed Jun 5, 2024
1 parent 8fc5a8d commit c02f41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/game/render/gl_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ class GLDriver : public RenderDriver {
//Check for sufficient opengl version
gladLoadGL(glfwGetProcAddress);

if(!GL_VERSION_3_0) {
if(!GLAD_GL_VERSION_3_0) {
fprintf(stderr, "Error: Requires OpenGL 3.0\n");
return false;
}
Expand Down

0 comments on commit c02f41c

Please sign in to comment.