From 55705d34d778833f0fe38164b1ca4a00ce9658d7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Jun 2003 02:27:04 +0000 Subject: [PATCH] don't mess with texture parameters when updating --- stepmania/src/RageDisplay_OGL.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index a9d0c1f14e..9479b6cfa0 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -989,9 +989,6 @@ void RageDisplay_OGL::UpdateTexture( { glBindTexture( GL_TEXTURE_2D, uTexHandle ); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glPixelStorei(GL_UNPACK_ROW_LENGTH, img->pitch / img->format->BytesPerPixel); // GLenum glTexFormat = GL_PIXFMT_INFO[pixfmt].internalfmt;