Support vertex attrib divisors

This commit is contained in:
Kovid Goyal
2017-08-21 23:24:05 +05:30
parent 67ec04fba3
commit afa767c3a8
3 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void main() {
final_color = vec4(color, 1);
}
''')
self.add_vertex_array('rect')
self.add_vertex_arrays(self.vertex_array('rect'))
def send_data(self, data):
self.send_vertex_data('rect', data)