Fix incorrect fast AA calculations

This commit is contained in:
elasota
2021-03-30 05:23:02 -04:00
parent 7951f579e0
commit 7916c72fc4
3 changed files with 17 additions and 8 deletions

View File

@@ -12,9 +12,7 @@ namespace PortabilityLayer
// Striped 256x16 because constant background color is more likely than constant sample
uint8_t m_aaTranslate[256][16];
#if 0
void GenerateForPalette(const RGBAColor &baseColor, const RGBAColor *colors, size_t numColors, bool cacheable);
#endif
void GenerateForPaletteFast(const RGBAColor &baseColor);
void GenerateForSimpleScale(uint8_t colorChannel, bool cacheable);