Support vertex attrib divisors
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user