Correct glDeleteVertexArrays

This commit is contained in:
twinaphex 2016-05-07 05:00:14 +02:00
parent 5127536217
commit b2df35bd7c
2 changed files with 3 additions and 3 deletions

View File

@ -1687,10 +1687,10 @@ void rglGenVertexArrays(GLsizei n, GLuint *arrays)
* OpenGL : 3.0
* OpenGLES : 3.0
*/
void rglDeleteVertexArrays(GLuint array)
void rglDeleteVertexArrays(GLsizei n, const GLuint *arrays)
{
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES3)
glDeleteVertexArrays(array);
glDeleteVertexArrays(n, arrays);
#endif
}

View File

@ -365,7 +365,7 @@ void rglTexSubImage2D( GLenum target,
GLenum format,
GLenum type,
const GLvoid * pixels);
void rglDeleteVertexArrays(GLuint array);
void rglDeleteVertexArrays(GLsizei n, const GLuint *arrays);
RETRO_END_DECLS