|
From: Yoda-JM <yo...@us...> - 2011-02-28 14:41:43
|
Author: Vincent Le Ligeour <yo...@us...>
Date: Mon Feb 28 15:08:52 2011 +0100
Fixed 3d guitar notes shading
---
game/guitargraph.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 4d3b155..98232f3 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -857,7 +857,9 @@ void GuitarGraph::draw(double time) {
}
// Draw the notes
- { glutil::UseDepthTest depthtest;
+ {
+ glutil::UseLighting lighting(m_use3d);
+ glutil::UseDepthTest depthtest;
// Draw drum fills / Big Rock Endings
bool drumfill = m_dfIt != m_drumfills.end() && m_dfIt->begin - time <= future;
if (drumfill) {
|