aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-05-06 18:52:23 +0200
committerAndre Weissflog <floooh@gmail.com>2024-05-06 18:52:23 +0200
commit179a03f3877a36c8874320996b1ddfcf3c49d32d (patch)
tree4ae4ffdebc3d863459dbddf308e1f7bb59f96bd8
parent208aef6c0f2778ae30680ad45e85fc852953dfa9 (diff)
sokol_gfx.h: add GL_MAJOR/MINOR_VERSION to win32 GL loader
-rw-r--r--sokol_gfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index e812fcda..54ec4669 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -4765,6 +4765,8 @@ inline int sg_append_buffer(sg_buffer buf_id, const sg_range& data) { return sg_
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
+ #define GL_MAJOR_VERSION 0x821B
+ #define GL_MINOR_VERSION 0x821C
#endif
#ifndef GL_UNSIGNED_INT_2_10_10_10_REV