diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-10 17:56:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-10 17:56:00 +0300 |
commit | c5a6f80e62fd9836a75058ac358d39dd5ec956b5 (patch) | |
tree | c36aab0291b39571fff3f577620da6149c32fb63 /src/render | |
parent | 18808109d12835d18d9d1ada96ed394a082a7740 (diff) | |
download | manaverse-c5a6f80e62fd9836a75058ac358d39dd5ec956b5.tar.gz manaverse-c5a6f80e62fd9836a75058ac358d39dd5ec956b5.tar.bz2 manaverse-c5a6f80e62fd9836a75058ac358d39dd5ec956b5.tar.xz manaverse-c5a6f80e62fd9836a75058ac358d39dd5ec956b5.zip |
Add pointer to OpenGL function glActiveTexture.
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, |