mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Add glTexSubImage2D
This commit is contained in:
parent
d997526a1d
commit
7eef9b87b0
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user