summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mgl.cpp1
-rw-r--r--src/render/mgl.h1
-rw-r--r--src/render/mgltypes.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/render/mgl.cpp b/src/render/mgl.cpp
index 63730fbad..9818b7f04 100644
--- a/src/render/mgl.cpp
+++ b/src/render/mgl.cpp
@@ -95,6 +95,7 @@ defName(glBindVertexBuffers);
defName(glIsBuffer);
defName(glVertexAttribIFormat);
defName(glVertexAttribIPointer);
+defName(glInvalidateTexImage);
#ifdef WIN32
defName(wglGetExtensionsString);
diff --git a/src/render/mgl.h b/src/render/mgl.h
index 53c6b714b..dbd9a4b38 100644
--- a/src/render/mgl.h
+++ b/src/render/mgl.h
@@ -98,6 +98,7 @@ defNameE(glBindVertexBuffers);
defNameE(glIsBuffer);
defNameE(glVertexAttribIFormat);
defNameE(glVertexAttribIPointer);
+defNameE(glInvalidateTexImage);
#ifdef WIN32
defNameE(wglGetExtensionsString);
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,