i915: Comment out dead & problematic code.
authorMichal Krol <michal@tungstengraphics.com>
Sat, 31 May 2008 16:44:47 +0000 (18:44 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sat, 31 May 2008 16:44:47 +0000 (18:44 +0200)
src/gallium/drivers/i915simple/i915_texture.c

index 4c0c7ce3f3e308518f4e0f78c9aba181f50031c1..f0d00280c23595e1b7e8ec975074e0febc98b4a6 100644 (file)
@@ -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)