From a97fca9681d7468731cf81456a368c67543ca0fd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Sep 2003 05:46:28 +0000 Subject: [PATCH] remove dupe code --- stepmania/src/RageDisplay_OGL.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 76ccd081cb..21dd85c790 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -1094,8 +1094,7 @@ unsigned RageDisplay_OGL::CreateTexture( 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); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); + SetTextureWrapping( false ); // texture must be power of two ASSERT( img->w == power_of_two(img->w) );