aboutsummaryrefslogtreecommitdiff
path: root/sokol_app.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-05-13 18:38:54 +0200
committerGitHub <noreply@github.com>2019-05-13 18:38:54 +0200
commitddfd20e6d96fb5fc926115c439e058d0e87fd802 (patch)
tree825d868a89fd0edcf1cb943a5c40d5cdbcffad86 /sokol_app.h
parentd6ca1813acde5d40194574a8f2475971ac2c70c4 (diff)
sokol_gfx.h: Cleanup resource 'unbinding' behaviour... (#152)
* sokol_gfx.h GL: properly unbind resources as needed, texture binding behind state cache * sokol_app.h Win32: add GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS to mini GL loader
Diffstat (limited to 'sokol_app.h')
-rw-r--r--sokol_app.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h
index f4a207b3..0638f5c6 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -2867,6 +2867,7 @@ typedef int GLint;
#define GL_POINTS 0x0000
#define GL_ONE_MINUS_SRC_COLOR 0x0301
#define GL_MIRRORED_REPEAT 0x8370
+#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
typedef void (GL_APIENTRY *PFN_glBindVertexArray)(GLuint array);
static PFN_glBindVertexArray _sapp_glBindVertexArray;