summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/openglgraphics.cpp5
2 files changed, 1 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 92390d35..52a4ab92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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));
}