diff --git a/libretro-common/glsm/glsm.c b/libretro-common/glsm/glsm.c index 7e95cc5677..fdeee70d31 100644 --- a/libretro-common/glsm/glsm.c +++ b/libretro-common/glsm/glsm.c @@ -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) diff --git a/libretro-common/include/glsm/glsmsym.h b/libretro-common/include/glsm/glsmsym.h index 36fef49c85..78553a3728 100644 --- a/libretro-common/include/glsm/glsmsym.h +++ b/libretro-common/include/glsm/glsmsym.h @@ -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);