mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-30 12:20:42 +00:00
Add glTexSubImage2D
This commit is contained in:
parent
a1ab947f2d
commit
9a0ad55e2a
@ -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…
Reference in New Issue
Block a user