diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mgl.hpp | 1 | ||||
-rw-r--r-- | src/render/mglemu.cpp | 4 | ||||
-rw-r--r-- | src/render/mglemu.h | 1 | ||||
-rw-r--r-- | src/render/mgltypes.h | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/src/render/mgl.hpp b/src/render/mgl.hpp index 47ad276d3..118b9491c 100644 --- a/src/render/mgl.hpp +++ b/src/render/mgl.hpp @@ -103,6 +103,7 @@ defName(glTextureSubImage2D); defName(glClearTexImage); defName(glClearTexSubImage); defName(glBindAttribLocation); +defName(glActiveTexture); #ifdef WIN32 defName(wglGetExtensionsString); #endif diff --git a/src/render/mglemu.cpp b/src/render/mglemu.cpp index 30330d9a5..4b46b341b 100644 --- a/src/render/mglemu.cpp +++ b/src/render/mglemu.cpp @@ -40,4 +40,8 @@ void APIENTRY emuglTextureSubImage2D(GLuint texture, GLenum target, format, type, pixels); } +void APIENTRY emuglActiveTexture (GLenum texture A_UNUSED) +{ +} + #endif diff --git a/src/render/mglemu.h b/src/render/mglemu.h index f22877939..536a02011 100644 --- a/src/render/mglemu.h +++ b/src/render/mglemu.h @@ -31,6 +31,7 @@ void APIENTRY emuglTextureSubImage2D(GLuint texture, GLenum target, GLenum format, GLenum type, const void *pixels); +void APIENTRY emuglActiveTexture (GLenum texture); #endif // USE_OPENGL #endif // RENDER_MGLEMU_H diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h index 6b55f4430..479f5e177 100644 --- a/src/render/mgltypes.h +++ b/src/render/mgltypes.h @@ -187,6 +187,7 @@ typedef void (APIENTRY *glClearTexSubImage_t) (GLuint texture, GLint level, GLsizei depth, GLenum format, GLenum type, const void * data); typedef void (APIENTRY *glBindAttribLocation_t) (GLuint program, GLuint index, const GLchar *name); +typedef void (APIENTRY *glActiveTexture_t) (GLenum texture); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, |