Skip to content

Commit 124a1e6

Browse files
Change TextureCoordinate to default to 2 values.
Was previously 3 values per vertex as a default.
1 parent 7986e99 commit 124a1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygly/vertex_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class TextureCoordAttribute( BufferAttribute ):
417417
def __init__(
418418
self,
419419
buffer,
420-
values_per_vertex = 3,
420+
values_per_vertex = 2,
421421
gl_type = GL.GL_FLOAT,
422422
stride = None,
423423
offset = None,

0 commit comments

Comments
 (0)