ManaPlus
Functions
mglemu.cpp File Reference

(986a3bf)

#include "render/opengl/mglemu.h"
#include "resources/openglimagehelper.h"
#include "debug.h"

Go to the source code of this file.

Functions

void emuglTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
 
void emuglActiveTexture (GLenum texture)
 

Function Documentation

◆ emuglActiveTexture()

void emuglActiveTexture ( GLenum  texture)

Definition at line 51 of file mglemu.cpp.

52 {
53 }

◆ emuglTextureSubImage2DEXT()

void emuglTextureSubImage2DEXT ( GLuint  texture,
GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const void *  pixels 
)

Definition at line 34 of file mglemu.cpp.

40 {
42  glTexSubImage2D(target, level,
43  xoffset, yoffset,
44  width, height,
45  format, type, pixels);
46 #ifdef OPENGLERRORS
48 #endif // OPENGLERRORS
49 }
static void logError()
static void bindTexture(const GLuint texture)
GraphicsManager graphicsManager

References OpenGLImageHelper::bindTexture(), graphicsManager, and GraphicsManager::logError().