mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Faster AA table generation
This commit is contained in:
@@ -262,7 +262,7 @@ namespace PortabilityLayer
|
||||
if (mutex)
|
||||
mutex->Unlock();
|
||||
|
||||
entry.m_aaTable.GenerateForPalette(color, m_colors, 256, true);
|
||||
entry.m_aaTable.GenerateForPaletteFast(color);
|
||||
|
||||
return entry.m_aaTable;
|
||||
}
|
||||
@@ -292,7 +292,7 @@ namespace PortabilityLayer
|
||||
if (mutex)
|
||||
mutex->Unlock();
|
||||
|
||||
entry.m_aaTable.GenerateForSimpleScale(tone, true);
|
||||
entry.m_aaTable.GenerateForSimpleScale(tone, false);
|
||||
|
||||
return entry.m_aaTable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user