mglemu.cpp File Reference


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

Go to the source code of this file.


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);
48 #endif // OPENGLERRORS
49 }
static void logError()
static void bindTexture(const GLuint texture)
GraphicsManager graphicsManager

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