aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-03-21 21:34:57 +0100
committerMarek Olšák <[email protected]>2010-03-21 21:54:06 +0100
commit33d2349119ada410dbfbaa667fc7aef8b60d1a6f (patch)
treeac8216a71e0eab472efdb14c8f785dce9cbcd8b6 /src/gallium/drivers/r300/r300_texture.c
parentd0d3abd360a0d98302841e62ab9acdebea2ca8c2 (diff)
r300g: cleanup tiling flags propagation
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index cb53619fe5e..2fa656067fa 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -777,8 +777,8 @@ static struct pipe_texture* r300_texture_create(struct pipe_screen* screen,
tex->size);
rws->buffer_set_tiling(rws, tex->buffer,
tex->pitch[0],
- tex->microtile != R300_BUFFER_LINEAR,
- tex->macrotile != R300_BUFFER_LINEAR);
+ tex->microtile,
+ tex->macrotile);
if (!tex->buffer) {
FREE(tex);