fix to call update on vbo if texture chnages in rectangle

This commit is contained in:
Thomas Hansen 2010-11-06 19:22:07 -05:00
parent 0c2ea25bd3
commit cc8ff7d9b7
1 changed files with 1 additions and 0 deletions

View File

@ -668,6 +668,7 @@ cdef class VertexDataInstruction(GraphicInstruction):
for i in range(self.v_count):
#print idx[i], vtx[i].x, vtx[i].y, vtx[i].s0, vtx[i].t0
self.vbo.update_vertices(idx[i], &vtx[i], 1)
self.canvas.update(self)
cdef trigger_texture_update(self):
'''Called when the texture is updated