Skip to content

Commit

Permalink
Corrected fixing of GLES API version to only apply to GLES.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgschultz authored and castholm committed May 6, 2024
1 parent dc6fa35 commit 53b64ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zigglgen/generator.zig
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const ApiVersionProfile = struct {
null;

// Fix up API
if (version[0] < 2) {
if (api == .gles2 and version[0] < 2) {
api = .gles1;
}

Expand Down

0 comments on commit 53b64ae

Please sign in to comment.