We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b01a8a commit 9b2ac63Copy full SHA for 9b2ac63
demosys/opengl/geometry/plane.py
@@ -47,7 +47,7 @@ def gen_index():
47
uv_data = numpy.fromiter(gen_uv(), dtype=numpy.float32)
48
uv_vbo = VBO(uv_data)
49
50
- index_data = numpy.fromiter(gen_index(), dtype=numpy.int32)
+ index_data = numpy.fromiter(gen_index(), dtype=numpy.uint32)
51
index_vbo = VBO(index_data, target=GL.GL_ELEMENT_ARRAY_BUFFER)
52
53
vao = VAO("plane_xz", mode=GL.GL_TRIANGLES)
0 commit comments