GNOME Bugzilla – Bug 741231
glfilter: position/texcoord attrib index usage
Last modified: 2014-12-11 08:34:30 UTC
Created attachment 292278 [details] [review] misc patch to fix position/texcoord attribute index usage gstglfilter _bind_buffer (line 1522) call VertexAttribPointer before get the attrib location, so _get_attributes (filter); should be called before gl->VertexAttribPointer (filter->draw_attr_position_loc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof (GLfloat), (void *) 0); ? plus, 0 is valid vertex attrib index(-1 is invalid) ,so we should init attrib index to -1, and compare with -1 ? if so , this patch fix this.
Thanks! commit 88909636fedbc7204506d058945661a25b308617 Author: Wang Xin-yu (王昕宇) <comicfans44@gmail.com> Date: Mon Dec 8 11:02:51 2014 +0800 glfilter: fix position/texcoord attrib index usage https://bugzilla.gnome.org/show_bug.cgi?id=741231