aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/gl_macro.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-15 08:20:13 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-15 08:20:13 +0100
commita3c6774f211ee765f910df76837548bdadd4e959 (patch)
tree499b29166c04fa62cb946c7d395f8a5299c78fbf /include/mgl/gl_macro.h
parentc4f84e1969f4c856a5bf0352e99fcb73a4cf56cf (diff)
Add dynamic font atlas creation (not finished)
Diffstat (limited to 'include/mgl/gl_macro.h')
-rw-r--r--include/mgl/gl_macro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mgl/gl_macro.h b/include/mgl/gl_macro.h
index aa264ee..5e634df 100644
--- a/include/mgl/gl_macro.h
+++ b/include/mgl/gl_macro.h
@@ -29,6 +29,7 @@
#define GL_TEXTURE_MAG_FILTER 0x2800
#define GL_TEXTURE_MIN_FILTER 0x2801
#define GL_UNSIGNED_BYTE 0x1401
+#define GL_MAX_TEXTURE_SIZE 0x0D33
#define GL_ALPHA 0x1906
#define GL_LUMINANCE 0x1909
@@ -59,7 +60,9 @@
#define GL_QUAD_STRIP 0x0008
#define GL_POLYGON 0x0009
+#define GL_MODELVIEW 0x1700
#define GL_PROJECTION 0x1701
+#define GL_TEXTURE 0x1702
#define GL_STREAM_DRAW 0x88E0
#define GL_STATIC_DRAW 0x88E4