(GLSM) Update

This commit is contained in:
twinaphex 2016-05-05 00:23:12 +02:00
parent 9a7bde6a02
commit b0193885ca
2 changed files with 56 additions and 0 deletions

View File

@ -1139,6 +1139,46 @@ void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
glBlendEquationSeparate(modeRGB, modeAlpha);
}
/*
*
* Core in:
* OpenGL : 2.0
* OpenGLES : 3.2
*/
void rglCopyImageSubData( GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth)
{
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES32)
glCopyImageSubData(srcName,
srcTarget,
srcX,
srcY,
srcZ,
dstName,
dstTarget,
dstLevel,
dstX,
dstY,
dstZ,
srcWidth,
srcHeight,
srcDepth);
#endif
}
/*
* Category: VAO
*

View File

@ -125,6 +125,7 @@ RETRO_BEGIN_DECLS
#define glBlendEquation rglBlendEquation
#define glBlendColor rglBlendColor
#define glBlendEquationSeparate rglBlendEquationSeparate
#define glCopyImageSubData rglCopyImageSubData
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
void rglBlendEquation(GLenum mode);
@ -244,6 +245,21 @@ void rglUniform2ui(GLint location, GLuint v0, GLuint v1);
void rglUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
void rglUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
void rglCopyImageSubData( GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
RETRO_END_DECLS