summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_resource_texture.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-02-20 12:52:55 +0100
committerJakob Bornecrantz <[email protected]>2011-02-21 23:42:53 +0000
commit27b49e91c982638497f7a92f7d611c29dd9cad18 (patch)
tree1a6873999a52de89721716260a1e07cd45df69ef /src/gallium/drivers/i915/i915_resource_texture.c
parentfe6800a1bbd2f22fc3b3921765491d9ba179c4ff (diff)
i915g: Move debug fields to screen
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource_texture.c')
-rw-r--r--src/gallium/drivers/i915/i915_resource_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index 12790a3d780..aad5235a6ad 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -174,7 +174,7 @@ i915_texture_set_image_offset(struct i915_texture *tex,
static enum i915_winsys_buffer_tile
i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex)
{
- if (!i915_tiling)
+ if (!is->debug.tiling)
return I915_TILE_NONE;
if (tex->b.b.target == PIPE_TEXTURE_1D)