diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-06-08 10:21:59 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-06-08 10:21:59 +0000 |
commit | 7c381a267aa97b44620ae37aeec7c4b45583e1e2 (patch) | |
tree | 65b2b0aa6f3ce1c482a1b6224a0578047e388ef5 /src | |
parent | e84f77be215ec1fc7a27388819b6c3a711057e4a (diff) |
Fix rectangular textures on i830 - well texrect at least
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_tex.c | 2 |
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 d4a70246b0..2afa05ab54 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 |