Misc changes

* Made refactor rende procedures to specify dependencies instead of directly grabbing from state singleton
This commit is contained in:
2024-06-26 06:03:00 -04:00
parent 413f544e9c
commit 9d0cc125a9
12 changed files with 567 additions and 625 deletions

View File

@ -172,7 +172,7 @@ AppWindow :: struct {
}
FontData :: struct {
provider : FontProviderData,
provider : FontProviderContext,
// TODO(Ed): We can have font constants here I guess but eventually
// I rather have fonts configurable for a 'theme' combo
@ -245,7 +245,7 @@ State :: struct {
fps_avg : f64,
// fonts : FontData,
font_provider_data : FontProviderData,
font_provider_ctx : FontProviderContext,
font_arial_unicode_ms : FontID,
font_firacode : FontID,