Fix text cache overflow (#51)

This commit is contained in:
Nic Barker 2024-11-27 12:13:11 +13:00 committed by GitHub
parent 330e56a858
commit 51c5355686
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 89 additions and 47 deletions

View file

@ -3,5 +3,7 @@
// NOTE: This file only exists to make sure that clay works when included in multiple translation units.
void SatisfyCompiler() {
CLAY(CLAY_ID("SatisfyCompiler"), CLAY_LAYOUT({})) {}
CLAY(CLAY_ID("SatisfyCompiler"), CLAY_LAYOUT({})) {
CLAY_TEXT(CLAY_STRING("Test"), CLAY_TEXT_CONFIG({ .fontId = 0, .fontSize = 24 }));
}
}