Skip to content

Commit 788bb63

Browse files
committed
Default draw mode should be points
1 parent 438f379 commit 788bb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demosys/opengl/geometry/points.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def gen():
2525

2626
data = numpy.fromiter(gen(), count=count * 3, dtype=numpy.float32)
2727
pos = VBO(data)
28-
vao = VAO("geometry:points_random_3d")
28+
vao = VAO("geometry:points_random_3d", mode=GL.GL_POINTS)
2929
vao.add_array_buffer(GL.GL_FLOAT, pos)
3030
vao.map_buffer(pos, "in_position", 3)
3131
vao.build()

0 commit comments

Comments
 (0)