summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-02 23:04:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-02 23:04:19 +0300
commit3c9d042fff05fd3ead33b0ee301449345a1c06a9 (patch)
tree054e641bf09b0cddce51ccd307665cce38bac4dc /src/render/mgltypes.h
parentc5ba04d8c4f303ad621bfb295a37668bc1b3bb9c (diff)
downloadmanaverse-3c9d042fff05fd3ead33b0ee301449345a1c06a9.tar.gz
manaverse-3c9d042fff05fd3ead33b0ee301449345a1c06a9.tar.bz2
manaverse-3c9d042fff05fd3ead33b0ee301449345a1c06a9.tar.xz
manaverse-3c9d042fff05fd3ead33b0ee301449345a1c06a9.zip
Add basic support for functions from OpenGL extension GL_EXT_direct_state_access.
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,