Skip to content

Commit 485b7b1

Browse files
committed
Template effect should also have frametime in draw()
1 parent fbb26c4 commit 485b7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demosys/effects/default/effect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def init(self):
1111
self.cube = geometry.cube(4.0, 4.0, 4.0)
1212

1313
@effect.bind_target
14-
def draw(self, time, target):
14+
def draw(self, time, frametime, target):
1515
GL.glEnable(GL.GL_DEPTH_TEST)
1616

1717
# Rotate and translate

0 commit comments

Comments
 (0)