mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[kandinsky/font] Fix for gcc
This commit is contained in:
committed by
LeaNumworks
parent
1c09f49ec0
commit
19529db5d5
@@ -26,6 +26,7 @@
|
||||
class KDFont {
|
||||
private:
|
||||
static constexpr int k_bitsPerPixel = 4; // TODO: Should be generated by the rasterizer
|
||||
static constexpr int k_maxGlyphPixelCount = 180; //TODO: Should be generated by the rasterizer
|
||||
static const KDFont privateLargeFont;
|
||||
static const KDFont privateSmallFont;
|
||||
public:
|
||||
@@ -44,7 +45,6 @@ public:
|
||||
uint8_t * greyscaleBuffer() { return m_greyscales; }
|
||||
uint8_t * secondaryGreyscaleBuffer() { return m_greyscales + k_maxGlyphPixelCount; }
|
||||
private:
|
||||
static constexpr int k_maxGlyphPixelCount = 180; //TODO: Should be generated by the rasterizer
|
||||
uint8_t m_greyscales[2*k_maxGlyphPixelCount];
|
||||
KDColor m_colors[k_maxGlyphPixelCount];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user