mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 23:37:11 +00:00
(GLSM) Update
This commit is contained in:
parent
9a7bde6a02
commit
b0193885ca
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user