mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
Placed cycle_bench(1) at the correct position.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user