diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-07 18:27:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-07 18:27:44 +0300 |
commit | 6adc2a5654e55f4a0e817cd5731753cdc3bc5ff4 (patch) | |
tree | 61a9a659578bfc215006f7b137129b7818aa4098 /src/render | |
parent | b60aef9dc9977b54a1b27431890e06558a2b6784 (diff) | |
download | plus-6adc2a5654e55f4a0e817cd5731753cdc3bc5ff4.tar.gz plus-6adc2a5654e55f4a0e817cd5731753cdc3bc5ff4.tar.bz2 plus-6adc2a5654e55f4a0e817cd5731753cdc3bc5ff4.tar.xz plus-6adc2a5654e55f4a0e817cd5731753cdc3bc5ff4.zip |
add some more OpenGL functions.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mgl.cpp | 1 | ||||
-rw-r--r-- | src/render/mgl.h | 1 | ||||
-rw-r--r-- | src/render/mgltypes.h | 1 |
3 files changed, 3 insertions, 0 deletions
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, |