Fix rectangular textures on i830 - well texrect at least

This commit is contained in:
Dave Airlie
2004-06-08 10:21:59 +00:00
parent e84f77be21
commit 7c381a267a
+1 -1
View File
@@ -281,7 +281,7 @@ static void i830TexParameter( GLcontext *ctx, GLenum target,
if (!t)
return;
if ( target != GL_TEXTURE_2D )
if ( target != GL_TEXTURE_2D && target != GL_TEXTURE_RECTANGLE_NV )
return;
/* Can't do the update now as we don't know whether to flush