|
From: Lasse Kärkkäi. <tr...@us...> - 2011-02-06 21:24:03
|
Module: performous
Branch: opengl2
Commit: 3bb222da91892f1e188680242f2f5f7f45ab05fd
Author: Lasse Karkkainen <tro...@tr...>
Date: Sun Feb 6 22:23:52 2011 +0100
Fix intro screen color effect.
---
game/screen_intro.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/game/screen_intro.cc b/game/screen_intro.cc
index 2eff166..90735bb 100644
--- a/game/screen_intro.cc
+++ b/game/screen_intro.cc
@@ -117,6 +117,7 @@ void ScreenIntro::draw() {
{
float anim = SDL_GetTicks() % 20000 / 20000.0;
Shader& sh = theme->bg.shader();
+ sh.bind();
sh.setUniformMatrix("colorMatrix", glmath::rotate(2.0 * M_PI * anim, glmath::Vec3(1.0, 1.0, 1.0)));
theme->bg.draw();
sh.setUniformMatrix("colorMatrix", glmath::Matrix());
|