Add another wrapper

This commit is contained in:
twinaphex 2016-05-04 23:55:25 +02:00
parent 365b003bf5
commit 4574e5ff6c
2 changed files with 11 additions and 0 deletions

View File

@ -1129,6 +1129,15 @@ void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
glBlendColor(red, green, blue, alpha);
}
/*
*
* Core in:
* OpenGL : 2.0
*/
void rglBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
{
glBlendEquationSeparate(modeRGB, modeAlpha);
}
/*
* Category: VAO

View File

@ -124,6 +124,7 @@ RETRO_BEGIN_DECLS
#define glBindVertexArray rglBindVertexArray
#define glBlendEquation rglBlendEquation
#define glBlendColor rglBlendColor
#define glBlendEquationSeparate rglBlendEquationSeparate
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
void rglBlendEquation(GLenum mode);
@ -242,6 +243,7 @@ void rglUniform1ui(GLint location, GLuint v);
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);
RETRO_END_DECLS