From 5d5eaf33e422cc3e61487418b5e593884b515cb6 Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 9 Feb 2000 03:46:55 +0000 Subject: [PATCH] Placed cycle_bench(1) at the correct position. --- wrlib/convert.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wrlib/convert.c b/wrlib/convert.c index 59b1014b..0a6ace14 100644 --- a/wrlib/convert.c +++ b/wrlib/convert.c @@ -271,7 +271,11 @@ image2TrueColor(RContext *ctx, RImage *image) return NULL; } - + +#ifdef BENCH + cycle_bench(1); +#endif + if (ctx->attribs->render_mode==RBestMatchRendering) { int ofs, r, g, b; int x, y; @@ -302,10 +306,6 @@ image2TrueColor(RContext *ctx, RImage *image) puts("true color dither"); #endif -#ifdef BENCH - cycle_bench(1); -#endif - #ifdef ASM_X86_MMX if (ctx->depth == 16 && image->format == RRGBAFormat && x86_check_mmx()) {