summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-05-31 18:44:47 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-05-31 18:44:47 +0200
commit140e0e071890f24653e333e309778f6242c8d8f9 (patch)
tree65a6430f1d9b8b928626fb8a4a55261b6320e708 /src/gallium
parent9b3c1582befd0c64d9b48f7ed39566f9ae2e24d9 (diff)
i915: Comment out dead & problematic code.
Diffstat (limited to 'src/gallium')
-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 4c0c7ce3f3..f0d00280c2 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)