summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-22 01:24:50 +1000
committerDave Airlie <airlied@redhat.com>2009-01-22 01:24:50 +1000
commit909aeb005f6e5b35889aa9b4fc5e68786bdad047 (patch)
treeefa83458c310bfe820cc28320d98758d86e1b386 /src
parent674b204ba7c4854fec92a0c939de5012fecb6d87 (diff)
radeon: fix 1D textures
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r200/r200_texstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c
index f8641d18f8..7dcb86d00f 100644
--- a/src/mesa/drivers/dri/r200/r200_texstate.c
+++ b/src/mesa/drivers/dri/r200/r200_texstate.c
@@ -1641,7 +1641,8 @@ static GLboolean r200_validate_texture(GLcontext *ctx, struct gl_texture_object
setup_hardware_state(rmesa, t);
if (texObj->Target == GL_TEXTURE_RECTANGLE_NV ||
- texObj->Target == GL_TEXTURE_2D)
+ texObj->Target == GL_TEXTURE_2D ||
+ texObj->Target == GL_TEXTURE_1D)
set_re_cntl_d3d( ctx, unit, GL_FALSE );
else
set_re_cntl_d3d( ctx, unit, GL_TRUE );