i915: Silence warnings
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Sun, 16 Nov 2008 11:33:58 +0000 (12:33 +0100)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 5 Dec 2008 16:24:34 +0000 (17:24 +0100)
src/gallium/drivers/i915simple/i915_texture.c

index c65c0642319bc1e88cc6fd474eb7ead7146ff093..2f5459af67f70aad34fd1adde23791bc95345f62 100644 (file)
@@ -178,7 +178,9 @@ i915_displaytarget_layout(struct i915_texture *tex)
    if (tex->base.width[0] >= 128) {
       tex->stride = power_of_two(tex->base.nblocksx[0] * pt->block.size);
       tex->total_nblocksy = round_up(tex->base.nblocksy[0], 8);
+#if 0 /* used for tiled display targets */
       tex->tiled = 1;
+#endif
    } else {
       tex->stride = round_up(tex->base.nblocksx[0] * pt->block.size, 64);
       tex->total_nblocksy = tex->base.nblocksy[0];