1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Removed optimize_for_speed flag

The optimize_for_speed was used to set the Alpha channel for jpeg.
The alpha channel for jpeg should be used always. The current CPUs/GPUs can do
it without problems and this is an old behaviour.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-09-05 21:08:14 +02:00
committed by Carlos R. Mafra
parent f363292d3c
commit d1f9b80171
3 changed files with 6 additions and 31 deletions

View File

@@ -502,14 +502,6 @@ static void gatherconfig(RContext * context, int screen_n)
context->attribs->colors_per_channel = i;
}
}
ptr = mygetenv("WRASTER_OPTIMIZE_FOR_SPEED", screen_n);
if (ptr) {
context->flags.optimize_for_speed = 1;
} else {
context->flags.optimize_for_speed = 0;
}
}
static void getColormap(RContext * context, int screen_number)