|
From: Yoda-JM <yo...@us...> - 2009-08-19 12:09:14
|
Module: performous
Branch: master
Commit: 1d2af98e740eaa983d8c109fdb3b79e531f5edb9
Author: Vincent Le Ligeour <yo...@us...>
Date: Wed Aug 19 14:08:37 2009 +0200
Used glColor4f instead of glColor3f
---
game/screen_songs.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/screen_songs.cc b/game/screen_songs.cc
index 07cdb27..e0bd153 100644
--- a/game/screen_songs.cc
+++ b/game/screen_songs.cc
@@ -217,7 +217,7 @@ void ScreenSongs::draw() {
s.dimensions.middle(-0.2 + 0.17 * (i - shift)).bottom(y - 0.2 * diff).fitInside(0.14 + diff, 0.14 + diff); s.draw();
// Draw the reflection
s.dimensions.top(y + 0.2 * diff); s.tex = TexCoords(0, 1, 1, 0); glColor4f(1.0, 1.0, 1.0, 0.4); s.draw();
- s.tex = TexCoords(); glColor3f(1.0, 1.0, 1.0); // Restore default attributes
+ s.tex = TexCoords(); glColor4f(1.0, 1.0, 1.0, 1.0); // Restore default attributes
// Draw the intruments
{
UseTexture tex(*m_instrumentList);
|