mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[kandinsky] Fix font test
This commit is contained in:
@@ -82,6 +82,7 @@ void KDFont::colorizeGlyphBuffer(const RenderPalette * renderPalette, GlyphBuffe
|
||||
|
||||
KDFont::GlyphIndex KDFont::indexForCodePoint(CodePoint c) const {
|
||||
int defaultIndex = NumberOfCodePoints - 2;
|
||||
assert(defaultIndex == 132); // If not, change kandinsky/test/font.cpp
|
||||
assert(CodePoints[defaultIndex] == 0xFFFD);
|
||||
#define USE_BINARY_SEARCH 0
|
||||
#if USE_BINARY_SEARCH
|
||||
|
||||
Reference in New Issue
Block a user