summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render/mgldefines.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/mgldefines.h b/src/render/mgldefines.h
index e0378fac7..2a063accf 100644
--- a/src/render/mgldefines.h
+++ b/src/render/mgldefines.h
@@ -114,6 +114,12 @@
#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
#endif
+#ifndef GLX_CONTEXT_MAJOR_VERSION_ARB
+#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
+#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
+#define GLX_CONTEXT_FLAGS_ARB 0x2094
+#endif
+
#endif // USE_OPENGL
#endif // RENDER_MGLDEFINES_H