changed default to not use the LuT. Lookup tables instead of a few integer operations will nearly allways _reduce_ performance massively on x86 systems. This is because the it can simply do several (and partitial simultaneous) integer operations on registers in the time it accesses one memory cell outside the cache

This commit is contained in:
mightymax 2007-01-28 19:33:03 +00:00
parent 2a5e45e6b3
commit f2afcf5893
1 changed files with 1 additions and 1 deletions

View File

@ -1477,7 +1477,7 @@ u16 bright_less_colors[16][0x8000];
BOOL bright_init=FALSE;
// comment this if want to use formulas instead
#define BRIGHT_TABLES
// #define BRIGHT_TABLES
void calc_bright_colors() {
int base = /*gpu->masterBright.bits.FactorEx? 63:*/ 31 ;