(libretro-common) Update GLSM

This commit is contained in:
twinaphex 2016-04-12 02:22:12 +02:00
parent 9239c2b349
commit 8d4d0d16c6
2 changed files with 15 additions and 0 deletions

View File

@ -735,6 +735,17 @@ void rglDrawBuffers(GLsizei n, const GLenum *bufs)
#endif
}
void rglBlendEquation(GLenum mode)
{
glBlendEquation(mode);
}
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
glBlendColor(red, green, blue, alpha);
}
void rglBindVertexArray(GLuint array)
{
#if defined(HAVE_OPENGLES) && !defined(HAVE_OPENGLES3) && !defined(HAVE_OPENGLES31)

View File

@ -117,7 +117,11 @@ extern "C" {
#define glDrawBuffers rglDrawBuffers
#define glGenVertexArrays rglGenVertexArrays
#define glBindVertexArray rglBindVertexArray
#define glBlendEquation rglBlendEquation
#define glBlendColor rglBlendColor
void rglBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
void rglBlendEquation(GLenum mode);
void rglGenVertexArrays(GLsizei n, GLuint *arrays);
void rglReadBuffer(GLenum mode);
void rglPixelStorei(GLenum pname, GLint param);