mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-29 11:35:47 +01:00
Placed cycle_bench(1) at the correct position.
This commit is contained in:
@@ -272,6 +272,10 @@ image2TrueColor(RContext *ctx, RImage *image)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef BENCH
|
||||||
|
cycle_bench(1);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (ctx->attribs->render_mode==RBestMatchRendering) {
|
if (ctx->attribs->render_mode==RBestMatchRendering) {
|
||||||
int ofs, r, g, b;
|
int ofs, r, g, b;
|
||||||
int x, y;
|
int x, y;
|
||||||
@@ -302,10 +306,6 @@ image2TrueColor(RContext *ctx, RImage *image)
|
|||||||
puts("true color dither");
|
puts("true color dither");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BENCH
|
|
||||||
cycle_bench(1);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ASM_X86_MMX
|
#ifdef ASM_X86_MMX
|
||||||
if (ctx->depth == 16 && image->format == RRGBAFormat
|
if (ctx->depth == 16 && image->format == RRGBAFormat
|
||||||
&& x86_check_mmx()) {
|
&& x86_check_mmx()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user