projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
674b204
)
radeon: fix 1D textures
author
Dave Airlie
<airlied@redhat.com>
Wed, 21 Jan 2009 15:24:50 +0000
(
01:24
+1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 21 Jan 2009 15:24:50 +0000
(
01:24
+1000)
src/mesa/drivers/dri/r200/r200_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_texstate.c
b/src/mesa/drivers/dri/r200/r200_texstate.c
index f8641d18f8d258e805a1e6ec5e8322c96d55b952..7dcb86d00f4e700197c8f6d670ac0c433860607a 100644
(file)
--- 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 );