From 44267738ab57d28f865f73128b6f35b16479a6fa Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Thu, 28 Jun 2007 07:42:36 +0000 Subject: [PATCH] * Minor cosmetic changes --- src/cacademo.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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