summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-27 17:52:51 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-28 15:39:57 +0200
commit33e1b8dda549630a6b782fa465b21f0c4f269280 (patch)
tree2ce083c7b0fe4068a0878e7271791aa4186d9c54 /examples/opengl/hellowindow/hellowindow.cpp
parentf1601a4930ea138955569ebc489d7d73e469b21b (diff)
Remove unused parameters in hellowindow.
(cherry picked from commit 3d7f0d967ca1e7e76087d84efc67f5247b72dae6)
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.cpp')
-rw-r--r--examples/opengl/hellowindow/hellowindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp
index f74d321fd9..6de48e8c95 100644
--- a/examples/opengl/hellowindow/hellowindow.cpp
+++ b/examples/opengl/hellowindow/hellowindow.cpp
@@ -69,7 +69,6 @@ void HelloWindow::render()
modelview.rotate(m_fAngle, 0.0f, 1.0f, 0.0f);
modelview.rotate(m_fAngle, 1.0f, 0.0f, 0.0f);
modelview.rotate(m_fAngle, 0.0f, 0.0f, 1.0f);
- modelview.scale(m_fScale);
modelview.translate(0.0f, -0.2f, 0.0f);
program.bind();
@@ -139,7 +138,6 @@ void HelloWindow::initialize()
colorUniform = program.uniformLocation("sourceColor");
m_fAngle = 0;
- m_fScale = 1;
createGeometry();
updateColor();
}