Fixes this error with chromium gpu process:
GL_INVALID_OPERATION, glBindBuffer: buffer bound to more than 1 target
https://bugzilla.gnome.org/show_bug.cgi?id=755618
GL_STATIC_DRAW);
gl->GenBuffers (1, &filter->vbo_indices);
- gl->BindBuffer (GL_ARRAY_BUFFER, filter->vbo_indices);
- gl->BufferData (GL_ARRAY_BUFFER, sizeof (indices), indices,
+ gl->BindBuffer (GL_ELEMENT_ARRAY_BUFFER, filter->vbo_indices);
+ gl->BufferData (GL_ELEMENT_ARRAY_BUFFER, sizeof (indices), indices,
GL_STATIC_DRAW);
if (gl->GenVertexArrays) {