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.
This commit is contained in:
parent
bf56e798c6
commit
c243086f44
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user