summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-10 01:25:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-10 01:25:12 +0300
commit98d8765769d809b060721bb071ca56887011a6b8 (patch)
treea58aae9dfc091fcc871cf7d6dbb295a5a958bed2 /src/render/mgltypes.h
parent42e4aaa2a7fb69376ccb470e1c219030093f578f (diff)
downloadmanaverse-98d8765769d809b060721bb071ca56887011a6b8.tar.gz
manaverse-98d8765769d809b060721bb071ca56887011a6b8.tar.bz2
manaverse-98d8765769d809b060721bb071ca56887011a6b8.tar.xz
manaverse-98d8765769d809b060721bb071ca56887011a6b8.zip
Add support for OpenGL extension GL_ARB_clear_texture.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r--src/render/mgltypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 24f1e8ca8..48ffbc34d 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -175,6 +175,11 @@ typedef void (APIENTRY *glGetQueryObjectui64v_t) (GLuint id,
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);
+typedef void (APIENTRY *glClearTexImage_t) (GLuint texture, GLint level,
+ GLenum format, GLenum type, const void * data);
+typedef void (APIENTRY *glClearTexSubImage_t) (GLuint texture, GLint level,
+ GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height,
+ GLsizei depth, GLenum format, GLenum type, const void * data);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,