don't mess with texture parameters when updating

This commit is contained in:
Glenn Maynard
2003-06-28 02:27:04 +00:00
parent 4f2d551e90
commit 55705d34d7
-3
View File
@@ -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;