(libretro-common) Update GLSM
This commit is contained in:
parent
9239c2b349
commit
8d4d0d16c6
|
@ -735,6 +735,17 @@ void rglDrawBuffers(GLsizei n, const GLenum *bufs)
|
||||||
#endif
|
#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)
|
void rglBindVertexArray(GLuint array)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_OPENGLES) && !defined(HAVE_OPENGLES3) && !defined(HAVE_OPENGLES31)
|
#if defined(HAVE_OPENGLES) && !defined(HAVE_OPENGLES3) && !defined(HAVE_OPENGLES31)
|
||||||
|
|
|
@ -117,7 +117,11 @@ extern "C" {
|
||||||
#define glDrawBuffers rglDrawBuffers
|
#define glDrawBuffers rglDrawBuffers
|
||||||
#define glGenVertexArrays rglGenVertexArrays
|
#define glGenVertexArrays rglGenVertexArrays
|
||||||
#define glBindVertexArray rglBindVertexArray
|
#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 rglGenVertexArrays(GLsizei n, GLuint *arrays);
|
||||||
void rglReadBuffer(GLenum mode);
|
void rglReadBuffer(GLenum mode);
|
||||||
void rglPixelStorei(GLenum pname, GLint param);
|
void rglPixelStorei(GLenum pname, GLint param);
|
||||||
|
|
Loading…
Reference in New Issue