From: Carl Worth Date: Wed, 5 Feb 2014 22:38:37 +0000 (-0800) Subject: Correct arguments for glClearNamedBufferSubDataEXT wrapper X-Git-Url: https://git.cworth.org/git?p=fips;a=commitdiff_plain;h=6bfaad321892191c4e429fe302a819dff92cdca6 Correct arguments for glClearNamedBufferSubDataEXT wrapper Apparently, the original source I used for the argument order was incorrect. --- diff --git a/glwrap.c b/glwrap.c index 42eaa80..1708e6b 100644 --- a/glwrap.c +++ b/glwrap.c @@ -560,13 +560,14 @@ glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, void glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, - GLenum format, GLenum type, GLsizeiptr offset, - GLsizeiptr size, const void *data) + GLsizeiptr offset, GLsizeiptr size, + GLenum format, GLenum type, + const void *data) { SAVE_THEN_SWITCH_METRICS_OP (METRICS_OP_CLEAR_BUFFER_DATA); GLWRAP_DEFER (glClearNamedBufferSubDataEXT, buffer, - internalformat, format, type, offset, size, data); + internalformat, offset, size, format, type, data); RESTORE_METRICS_OP (); }