Skip to content

Commit

Permalink
Merge upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
KislyjKisel committed Sep 21, 2024
1 parent 394e0ba commit b021818
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -307,20 +307,12 @@ pub const OpenglVersion = enum {

pub fn toCMacroStr(self: @This()) []const u8 {
switch (self) {
<<<<<<< HEAD
.auto => @panic("OpenglVersion.auto cannot be turned into a C macro string"),
.gl_1_1 => return "GRAPHICS_API_OPENGL_11",
.gl_2_1 => return "GRAPHICS_API_OPENGL_21",
.gl_3_3 => return "GRAPHICS_API_OPENGL_33",
.gl_4_3 => return "GRAPHICS_API_OPENGL_43",
.gl_4_6 => return "GRAPHICS_API_OPENGL_46",
=======
.auto => @panic("OpenglVersion.auto cannot be turned into a C macro string"),
.gl_1_1 => return "GRAPHICS_API_OPENGL_11",
.gl_2_1 => return "GRAPHICS_API_OPENGL_21",
.gl_3_3 => return "GRAPHICS_API_OPENGL_33",
.gl_4_3 => return "GRAPHICS_API_OPENGL_43",
>>>>>>> origin/master
.gles_2 => return "GRAPHICS_API_OPENGL_ES2",
.gles_3 => return "GRAPHICS_API_OPENGL_ES3",
}
Expand Down

0 comments on commit b021818

Please sign in to comment.