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:17:00 +0100 |
commit | 13edba01753d07bdee8df68aa9f7011f3457a40d (patch) | |
tree | aa62765e7ae092e896534555bad4dc2c5b542f11 | |
parent | 8769a627012463ace69d84b607c2e4387c0a8c0b (diff) | |
download | clutter-13edba01753d07bdee8df68aa9f7011f3457a40d.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.
(cherry picked from commit ced7915ea1977bd9d9aa2a70f54f1f2f774ed567)
-rw-r--r-- | clutter/cogl/cogl/cogl-vertex-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/cogl/cogl/cogl-vertex-buffer.c b/clutter/cogl/cogl/cogl-vertex-buffer.c index 56ade6a3d..1f7f1b531 100644 --- a/clutter/cogl/cogl/cogl-vertex-buffer.c +++ b/clutter/cogl/cogl/cogl-vertex-buffer.c @@ -184,7 +184,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) |