diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-02-05 19:09:10 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-02-05 19:09:10 -0500 |
| commit | a9fb380f9d0b53cde554b265d9c6b66d26183c38 (patch) | |
| tree | 8ea3648c497d4a3ac8ce2f6dafa2beca324e7249 /src/game.cpp | |
| parent | 61e179f9580c985cb5ca80ea732fc7572d31c489 (diff) | |
pke: mtsdf displays, bypass fg/bg not working
Diffstat (limited to 'src/game.cpp')
| -rw-r--r-- | src/game.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index d65afc6..58e9289 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -608,8 +608,11 @@ void Game_Main(PKEWindowProperties windowProps, const char *executablePath) { } } - // pk_cstr test_text = cstring_to_pk_cstr("this is a test string"); - // FontRender fr = FontType_AddStringRender(FontTypeIndex{0}, test_text); + pk_cstr test_text = cstring_to_pk_cstr("$"); + FontTypeIndex font_type_count; + if ((FontType_GetFonts(font_type_count)); font_type_count != FontTypeIndex{0}) { + FontType_AddStringRender(FontTypeIndex{0}, test_text); + } GameTimePoint lastTimePoint = pkeSettings.steadyClock.now(); double deltaTillNextRender = pkeSettings.deltaPerFrame; |
