Skip to content

Commit 17de09d

Browse files
authored
Remove font atlas preload. (#59)
- move atlas loading from app startup to menu creation - reduce blank black screen time on startup
1 parent 95df896 commit 17de09d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/spaced/spaced/spaced.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,12 @@ struct PersistentStats : Stats {
6262
}
6363
};
6464

65-
constexpr auto preload_text_heights_v = std::array{TextHeight{100}, TextHeight{60}};
66-
6765
constexpr auto gdci_v = bave::GameDriver::CreateInfo{
6866
.assets =
6967
{
7068
.main_font =
7169
{
7270
.uri = "assets/fonts/CuteDino.otf",
73-
.preload_heights = preload_text_heights_v,
7471
},
7572
.spinner = "assets/images/spinner.png",
7673
.styles = "assets/styles.json",

0 commit comments

Comments
 (0)