i915_texture_set_image_offset(tex, 0, 0, 0, 0);
-#if DEBUG_TEXTURE
+#if DEBUG_TEXTURES
debug_printf("%s size: %d,%d,%d offset %d,%d (0x%x)\n", __func__,
pt->width0, pt->height0, util_format_get_blocksize(pt->format),
tex->stride, tex->total_nblocksy,
tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8);
tex->tiling = I915_TILE_X;
-#if DEBUG_TEXTURE
+#if DEBUG_TEXTURES
debug_printf("%s size: %d,%d,%d offset %d,%d (0x%x)\n", __func__,
pt->width0, pt->height0, util_format_get_blocksize(pt->format),
tex->stride, tex->total_nblocksy,