diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-02 23:04:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-02 23:04:19 +0300 |
commit | 3c9d042fff05fd3ead33b0ee301449345a1c06a9 (patch) | |
tree | 054e641bf09b0cddce51ccd307665cce38bac4dc /src/render/mgltypes.h | |
parent | c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c (diff) | |
download | manaverse-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.h | 3 |
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, |