summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r--src/render/mgltypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index c95b88dae..24f1e8ca8 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -172,6 +172,9 @@ typedef void (APIENTRY *glGetQueryObjectiv_t) (GLuint id,
GLenum pname, GLint *params);
typedef void (APIENTRY *glGetQueryObjectui64v_t) (GLuint id,
GLenum pname, uint64_t *params);
+typedef void (APIENTRY *glTextureSubImage2D_t) (GLuint texture, GLenum target,
+ GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height,
+ GLenum format, GLenum type, const void *pixels);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,