Add glTexSubImage2D

This commit is contained in:
twinaphex 2016-05-06 23:54:12 +02:00
parent a1ab947f2d
commit 9a0ad55e2a
2 changed files with 25 additions and 0 deletions

View File

@ -214,6 +214,21 @@ void rglPolygonMode(GLenum face, GLenum mode)
glPolygonMode(face, mode);
}
void rglTexSubImage2D(
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
const GLvoid * pixels)
{
glTexSubImage2D(target, level, xoffset, yoffset,
width, height, format, type, pixels);
}
/*
*
* Core in:

View File

@ -148,6 +148,7 @@ RETRO_BEGIN_DECLS
#define glProgramBinary rglProgramBinary
#define glGetProgramBinary rglGetProgramBinary
#define glProgramParameteri rglProgramParameteri
#define glTexSubImage2D rglTexSubImage2D
void rglProgramParameteri( GLuint program,
GLenum pname,
@ -354,6 +355,15 @@ void rglTexImage2DMultisample( GLenum target,
GLsizei height,
GLboolean fixedsamplelocations);
void rglMemoryBarrier( GLbitfield barriers);
void rglTexSubImage2D( GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
const GLvoid * pixels);
RETRO_END_DECLS