summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i830/i830_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_tex.c b/src/mesa/drivers/dri/i830/i830_tex.c
index d4a70246b0c..2afa05ab549 100644
--- a/src/mesa/drivers/dri/i830/i830_tex.c
+++ b/src/mesa/drivers/dri/i830/i830_tex.c
@@ -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