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()) {