summaryrefslogtreecommitdiff
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-26 14:26:23 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-29 18:08:46 +0200
commit03acaa4a43432d76d048986076f3aa725b64ab3d (patch)
tree747d1da68856df2b5f229050080c7689b8042688 /tests/rotozoom.c
parent045dd4b9287551443e655b313417fd776f52aab0 (diff)
tests: Remove disabled code.
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 25f0e024a4..505072c4f9 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -222,15 +222,7 @@ static void gen_image(int num, int w, int h)
for ( i=0 ; i<w ; i++ ) {
x += c;
y -= s;
-#if 1
put_pixel(i, j, ipol(tab_r, x, y), ipol(tab_g, x, y), ipol(tab_b, x, y));
-#else
- {
- unsigned dep;
- dep = ((x>>16)&255) + (((y>>16)&255)<<8);
- put_pixel(i, j, tab_r[dep], tab_g[dep], tab_b[dep]);
- }
-#endif
}
}
}