Skip to content

Commit

Permalink
remove only GL_VERSION check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Dec 26, 2023
1 parent dddf6e2 commit f21c3b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion glad/generator/c/templates/gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ int gladLoad{{ api|api }}{{ 'Context' if options.mx }}UserPtr({{ template_utils.
{{ 'glGetString'|ctx }} = (PFNGLGETSTRINGPROC) load(userptr, "glGetString");
if({{ 'glGetString'|ctx }} == NULL) return 0;
version = glad_gl_find_core_{{ api|lower }}({{ 'context' if options.mx }});
if(!version) return 0;

{% for feature, _ in loadable(feature_set.features, api=api) %}
glad_gl_load_{{ feature.name }}({{'context, ' if options.mx }}load, userptr);
Expand Down

0 comments on commit f21c3b3

Please sign in to comment.