diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-26 02:17:57 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-26 02:17:57 +0000 |
commit | 8a55458d6b6bbd12da3fc3a927a05be626a710d8 (patch) | |
tree | bd41e24fe44839d00adb320651fa4affbf8f5f07 | |
parent | b5d6f027234d534a4bee810932abb571c5c535dd (diff) | |
download | mana-8a55458d6b6bbd12da3fc3a927a05be626a710d8.tar.gz mana-8a55458d6b6bbd12da3fc3a927a05be626a710d8.tar.bz2 mana-8a55458d6b6bbd12da3fc3a927a05be626a710d8.tar.xz mana-8a55458d6b6bbd12da3fc3a927a05be626a710d8.zip |
Remove useless code.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/openglgraphics.cpp | 5 |
2 files changed, 1 insertions, 5 deletions
@@ -1,5 +1,6 @@ 2005-08-26 Björn Steinbrink <B.Steinbrink@gmx.de> + * src/openglgraphics.cpp: Remove useless code. * src/openglgraphics.cpp: Use glTranslatef instead of glTranslated. Remove some useless code. diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 1c43703f..3376d4ae 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -125,11 +125,6 @@ void OpenGLGraphics::_beginDraw() glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); - pushClipArea(gcn::Rectangle(0, 0, mScreen->w, mScreen->h)); } |