1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-07 14:24:14 +01:00

Placed cycle_bench(1) at the correct position.

This commit is contained in:
dan
2000-02-09 03:46:55 +00:00
parent d5c2da25c4
commit 5d5eaf33e4

View File

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