diff options
author | Jakob Bornecrantz <[email protected]> | 2008-11-16 12:33:58 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-11-16 13:15:14 +0100 |
commit | 96ad8a36003a21180ad6b61aa0b7d7c9452b3449 (patch) | |
tree | 1ae7620c6a2b140529529dd8da3ea9eb95b287a4 /src/gallium/drivers/i915simple/i915_texture.c | |
parent | 7468765b18be202a64d58b83f6267b6973ea4897 (diff) |
i915: Silence warnings
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_texture.c')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_texture.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c index bd87217063c..c65c0642319 100644 --- a/src/gallium/drivers/i915simple/i915_texture.c +++ b/src/gallium/drivers/i915simple/i915_texture.c @@ -206,11 +206,10 @@ i945_miptree_layout_2d( struct i915_texture *tex ) unsigned nblocksx = pt->nblocksx[0]; unsigned nblocksy = pt->nblocksy[0]; -#if 0 /* used for tiled display targets */ - if (pt->last_level == 0 && pt->block.size == 4) + /* used for tiled display targets */ + if (0) if (i915_displaytarget_layout(tex)) return; -#endif tex->stride = round_up(pt->nblocksx[0] * pt->block.size, 4); |