mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add text anti-aliasing, disable arcade mode
This commit is contained in:
16
PortabilityLayer/AntiAliasTable.h
Normal file
16
PortabilityLayer/AntiAliasTable.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
struct RGBAColor;
|
||||
|
||||
struct AntiAliasTable
|
||||
{
|
||||
// Striped 256x16 because constant background color is more likely than constant sample
|
||||
uint8_t m_aaTranslate[256][16];
|
||||
|
||||
void GenerateForPalette(const RGBAColor &baseColor, const RGBAColor *colors, size_t numColors);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user