|
From: Tapio V. <aa...@us...> - 2010-11-08 14:47:27
|
Module: performous
Branch: opengl2
Commit: a49d0c8a1c4ed2aeade2283b51b7fec64bcf77c3
Author: Tapio Vierros <tap...@gm...>
Date: Mon Nov 8 16:46:41 2010 +0200
GLSL driver compatibility fix.
---
themes/default/shaders/dancenote.vert | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/themes/default/shaders/dancenote.vert b/themes/default/shaders/dancenote.vert
index 60a4d61..3573391 100644
--- a/themes/default/shaders/dancenote.vert
+++ b/themes/default/shaders/dancenote.vert
@@ -46,7 +46,7 @@ void main()
// Mines
} else if (noteType == 3) {
trans *= scaleMat(1.0 + hitAnim);
- float r = float(mod(int(clock*360), 360)) * deg2rad; // They rotate!
+ float r = float(mod(int(clock*360.0), 360)) * deg2rad; // They rotate!
trans *= rotMat(r);
}
|