summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index 4c0c7ce3f3e..f0d00280c23 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -104,6 +104,7 @@ i915_miptree_set_image_offset(struct i915_texture *tex,
*/
}
+#if 0
static unsigned
power_of_two(unsigned x)
{
@@ -112,6 +113,7 @@ power_of_two(unsigned x)
value = value << 1;
return value;
}
+#endif
static unsigned
round_up(unsigned n, unsigned multiple)