summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-01-27 23:06:15 +0100
committerMarek Olšák <maraeo@gmail.com>2011-01-27 23:06:15 +0100
commit2e3ccada076fe275d04d37dc60142230445d1007 (patch)
tree5b426f93dc51de47303e6297694d804a71f17dec /src/gallium/drivers/r300/r300_texture.c
parente0b98cde41a9d39b6099950585d9516f8136dafe (diff)
r300g: rename flag squaretiling -> drm_2_1_0
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index ca2762809d..ec8608f74b 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -889,7 +889,7 @@ struct pipe_resource *r300_texture_from_handle(struct pipe_screen *screen,
break;
case 2:
- if (rws->get_value(rws, R300_VID_SQUARE_TILING_SUPPORT))
+ if (rws->get_value(rws, R300_VID_DRM_2_1_0))
microtile = R300_BUFFER_SQUARETILED;
break;
}