diff options
author | Neil Roberts <neil@linux.intel.com> | 2010-07-06 16:08:06 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2010-07-06 16:08:44 +0100 |
commit | c243086f449634e5273e1137f89fd321ee4686ef (patch) | |
tree | c449157be413fd8633b928235e2799d8c9cad1ed /cogl/cogl-vertex-buffer.c | |
parent | bf56e798c6094b76fb9734c472b739d1ecc73ff4 (diff) | |
download | cogl-c243086f449634e5273e1137f89fd321ee4686ef.tar.gz |
cogl-vertex-buffer: Fix the #define for glDisableVertexAttribArray
glDisableVertexAttribArray was defined to glEnableVertexAttribArray so
it would probably cause crashes if it was ever used. Presumably
nothing is using these yet because the generic attributes are not yet
tied to shader attributes in a predictable way.
Diffstat (limited to 'cogl/cogl-vertex-buffer.c')
-rw-r--r-- | cogl/cogl-vertex-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-vertex-buffer.c b/cogl/cogl-vertex-buffer.c index a25c26bb..57a353ec 100644 --- a/cogl/cogl-vertex-buffer.c +++ b/cogl/cogl-vertex-buffer.c @@ -183,7 +183,7 @@ #define glVertexAttribPointer ctx->drv.pf_glVertexAttribPointer #define glEnableVertexAttribArray ctx->drv.pf_glEnableVertexAttribArray -#define glDisableVertexAttribArray ctx->drv.pf_glEnableVertexAttribArray +#define glDisableVertexAttribArray ctx->drv.pf_glDisableVertexAttribArray #define MAY_HAVE_PROGRAMABLE_GL #elif defined (HAVE_COGL_GLES2) |