diff options
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r-- | tests/rotozoom.c | 8 |
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 } } } |