summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp1
-rw-r--r--src/render/mgl.cpp1
-rw-r--r--src/render/mgl.h1
-rw-r--r--src/render/mgltypes.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index e81f54cbd..870f52bb9 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -812,6 +812,7 @@ void GraphicsManager::initOpenGLFunctions()
assignFunction(glFramebufferRenderbuffer, "glFramebufferRenderbuffer");
assignFunction(glDeleteFramebuffers, "glDeleteFramebuffers");
assignFunction(glDeleteRenderbuffers, "glDeleteRenderbuffers");
+ assignFunction(glCheckFramebufferStatus, "glCheckFramebufferStatus");
}
else if (supportExtension("GL_EXT_framebuffer_object"))
{ // old frame buffer extension
diff --git a/src/render/mgl.cpp b/src/render/mgl.cpp
index 21e2dd274..47d087325 100644
--- a/src/render/mgl.cpp
+++ b/src/render/mgl.cpp
@@ -82,6 +82,7 @@ defName(glUniform1f);
defName(glUniform2f);
defName(glUniform3f);
defName(glUniform4f);
+defName(glCheckFramebufferStatus);
#ifdef WIN32
defName(wglGetExtensionsString);
diff --git a/src/render/mgl.h b/src/render/mgl.h
index 2213458bb..02122f88c 100644
--- a/src/render/mgl.h
+++ b/src/render/mgl.h
@@ -85,6 +85,7 @@ defNameE(glUniform1f);
defNameE(glUniform2f);
defNameE(glUniform3f);
defNameE(glUniform4f);
+defNameE(glCheckFramebufferStatus);
#ifdef WIN32
defNameE(wglGetExtensionsString);
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 8e5cbe40d..65fd8a978 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -120,6 +120,7 @@ typedef void (APIENTRY *glUniform3f_t) (GLint location,
GLfloat v0, GLfloat v1, GLfloat v2);
typedef void (APIENTRY *glUniform4f_t) (GLint location,
GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+typedef GLenum (APIENTRY *glCheckFramebufferStatus_t) (GLenum target);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,