diff --git a/src/cacademo.c b/src/cacademo.c index d58ffa5..dcf4de8 100644 --- a/src/cacademo.c +++ b/src/cacademo.c @@ -864,8 +864,6 @@ void rotozoom(enum action action, cucul_canvas_t *canvas) static int *sinTable; static int *yTable; - - /* register is quite a bad idea on CISC, but not on RISC */ register unsigned int x, y; register unsigned int xxF, yyF, uF, vF, uF_, vF_; @@ -874,7 +872,6 @@ void rotozoom(enum action action, cucul_canvas_t *canvas) switch(action) { case INIT: - screen = (unsigned int*)malloc(4 * XSIZ * YSIZ * sizeof(unsigned char)); dither = cucul_create_dither(32, @@ -898,15 +895,15 @@ void rotozoom(enum action action, cucul_canvas_t *canvas) for(x=0; x