mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
(GLSM) Expand GLSM
This commit is contained in:
parent
3f9afce2cd
commit
2fa1c5abb2
@ -1338,6 +1338,42 @@ void rglUniform1iv(GLint location, GLsizei count, const GLint *value)
|
||||
glUniform1iv(location, count, value);
|
||||
}
|
||||
|
||||
void rglClearBufferfv( GLenum buffer,
|
||||
GLint drawBuffer,
|
||||
const GLfloat * value)
|
||||
{
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES_3)
|
||||
glClearBufferfv(buffer, drawBuffer, value);
|
||||
#endif
|
||||
}
|
||||
|
||||
void rglTexBuffer(GLenum target, GLenum internalFormat, GLuint buffer)
|
||||
{
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES_3_2)
|
||||
glTexBuffer(target, internalFormat, buffer);
|
||||
#endif
|
||||
}
|
||||
|
||||
const GLubyte* rglGetStringi(GLenum name, GLuint index)
|
||||
{
|
||||
glGetStringi(name, index);
|
||||
}
|
||||
|
||||
void rglClearBufferfi( GLenum buffer,
|
||||
GLint drawBuffer,
|
||||
GLfloat depth,
|
||||
GLint stencil)
|
||||
{
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES_3)
|
||||
glClearBufferfi(buffer, drawBuffer, value);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
* Core in:
|
||||
* OpenGL : 3.0
|
||||
*/
|
||||
void rglRenderbufferStorageMultisample( GLenum target,
|
||||
GLsizei samples,
|
||||
GLenum internalformat,
|
||||
|
@ -154,7 +154,20 @@ RETRO_BEGIN_DECLS
|
||||
#define glUniform1iv rglUniform1iv
|
||||
#define glUniform1fv rglUniform1fv
|
||||
#define glValidateProgram rglValidateProgram
|
||||
#define glGetStringi rglGetStringi
|
||||
#define glTexBuffer rglTexBuffer
|
||||
#define glClearBufferfv rglClearBufferfv
|
||||
#define glClearBufferfi rglClearBufferfi
|
||||
|
||||
const GLubyte* rglGetStringi(GLenum name, GLuint index);
|
||||
void rglTexBuffer(GLenum target, GLenum internalFormat, GLuint buffer);
|
||||
void rglClearBufferfv( GLenum buffer,
|
||||
GLint drawBuffer,
|
||||
const GLfloat * value);
|
||||
void rglClearBufferfi( GLenum buffer,
|
||||
GLint drawBuffer,
|
||||
GLfloat depth,
|
||||
GLint stencil);
|
||||
void rglValidateProgram(GLuint program);
|
||||
void rglRenderbufferStorageMultisample( GLenum target,
|
||||
GLsizei samples,
|
||||
|
Loading…
Reference in New Issue
Block a user