diff options
author | Dave Airlie <airliedfreedesktop.org> | 2006-05-17 06:26:25 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2006-05-17 06:26:25 +0000 |
commit | cea0c74bcbed69c4d066be85e5fcb85ed8cb9764 (patch) | |
tree | 9046ac644894ea4a82b7c43c475c6a14da94cd9f /src/mesa/drivers/dri/i810/i810state.c | |
parent | 601c02f7835bb01a9c25d232f5e6e11ba258d6d9 (diff) |
add texture rectangle support for i815, I wrote the original patch about
2 years ago, I finally dug out an i815 and got it working
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810state.c')
-rw-r--r-- | src/mesa/drivers/dri/i810/i810state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i810/i810state.c b/src/mesa/drivers/dri/i810/i810state.c index a79c3a3e4df..680b818d286 100644 --- a/src/mesa/drivers/dri/i810/i810state.c +++ b/src/mesa/drivers/dri/i810/i810state.c @@ -597,6 +597,7 @@ static void i810Enable(GLcontext *ctx, GLenum cap, GLboolean state) imesa->Setup[I810_CTXREG_LCS] |= LCS_CULL_DISABLE; break; case GL_TEXTURE_2D: + case GL_TEXTURE_RECTANGLE_NV: I810_STATECHANGE(imesa, I810_UPLOAD_CTX); if (ctx->Texture.CurrentUnit == 0) { imesa->Setup[I810_CTXREG_MT] &= ~MT_TEXEL0_ENABLE; |