Skip to content

Commit eb516c9

Browse files
committed
Incorrect uniform value in colorshader
1 parent 7c1359a commit eb516c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demosys/scene/shaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def draw(self, mesh, proj_mat, view_mat):
6161
if mesh.material.color:
6262
self.shader.uniform("color", tuple(mesh.material.color))
6363
else:
64-
self.shader.uniform("color", [1.0, 1.0, 1.0, 1.0])
64+
self.shader.uniform("color", (1.0, 1.0, 1.0, 1.0))
6565

6666
self.shader.uniform("m_proj", proj_mat.astype('f4').tobytes())
6767
self.shader.uniform("m_mv", view_mat.astype('f4').tobytes())

0 commit comments

Comments
 (0)