diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-15 01:37:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-15 01:37:01 +0300 |
commit | 0f208c6842ef13d8c68b179eb0ab88a37a0926b0 (patch) | |
tree | dc60df46116896fc362ac5067fbc464982ee2cc9 /src/render/mgltypes.h | |
parent | 8f9ffaa42e6fa11bb963fa9f1a1824d85a50b51b (diff) | |
download | manaplus-0f208c6842ef13d8c68b179eb0ab88a37a0926b0.tar.gz manaplus-0f208c6842ef13d8c68b179eb0ab88a37a0926b0.tar.bz2 manaplus-0f208c6842ef13d8c68b179eb0ab88a37a0926b0.tar.xz manaplus-0f208c6842ef13d8c68b179eb0ab88a37a0926b0.zip |
Add OpenGL extension GL_ARB_invalidate_subdata.
And use it for invalidate prepared for deletion images.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r-- | src/render/mgltypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h index 9deefd41f..14b3b5760 100644 --- a/src/render/mgltypes.h +++ b/src/render/mgltypes.h @@ -144,6 +144,7 @@ typedef void (APIENTRY *glVertexAttribIFormat_t) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (APIENTRY *glVertexAttribIPointer_t) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); +typedef void (APIENTRY *glInvalidateTexImage_t) (GLuint texture, GLint level); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, |