http://bugs.winehq.org/show_bug.cgi?id=29144
--- Comment #29 from Stefan Dösinger stefan@codeweavers.com 2012-01-17 03:49:37 CST --- That hack won't work. glVertexAttrib* sets the current vertex attribute(and glVertexAttrib*(0) emits a vertex if called between glBegin/glEnd), glVertexAttribPointer configures a vertex stream by glDrawArrays/glDrawElements. See http://www.opengl.org/sdk/docs/man/xhtml/glDrawArrays.xml .
What you really want here is GL_ARB_instanced_arrays.
Also, please generate diffs with git. If you really have to use diff, use diff -u.