disabled LuT creation when not using LuT (i commited too much previous)

This commit is contained in:
mightymax 2007-01-28 20:02:01 +00:00
parent f49f032688
commit aa29ef4c8e
1 changed files with 1 additions and 2 deletions

View File

@ -1513,7 +1513,7 @@ void calc_bright_colors() {
#undef FORMULA_LESS
}
void __fastcall GPU_ligne(Screen * screen, u16 l)
void GPU_ligne(Screen * screen, u16 l)
{
struct _DISPCAPCNT * capcnt;
GPU * gpu = screen->gpu;
@ -1728,7 +1728,6 @@ void __fastcall GPU_ligne(Screen * screen, u16 l)
/* it will most likly take acceleration, while we are stuck here with CPU power */
#ifdef BRIGHT_TABLES
/* do you really want to recalculate 2^19 entries of 2 bytes for 256 entries in single line???? */
calc_bright_colors();
#endif
switch (gpu->masterBright.bits.Mode)