Hello,

Is there any known issue with glMultiDrawArrays in pyglet?

count=np.array([3,3,3],dtype=np.int32)
first=np.array([0,3,6],dtype=np.int32)
items=3

firstptr=firts.ctypes.data
countptr=count.ctypes.data

This gives segmentation fault
glMultiDrawArrays(GL_LINE_STRIP, firstptr,countptr, items)

And this works just fine
glDrawArrays(GL_LINE_STRIP,0,3)
glDrawArrays(GL_LINE_STRIP,3,3)
glDrawArrays(GL_LINE_STRIP,6,3)

However these two should have identical results according to the Red bible.

Best wishes,
Eleftherios

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to