Core: support configuring window before it opens
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
122a1ea9a7
commit
205a1f33db
10 changed files with 73 additions and 23 deletions
|
|
@ -66,8 +66,13 @@ fn init(
|
|||
text_pipeline: *gfx.TextPipeline.Mod,
|
||||
text: *gfx.Text.Mod,
|
||||
sprite_pipeline: *gfx.SpritePipeline.Mod,
|
||||
core: *mach.Core.Mod,
|
||||
game: *Mod,
|
||||
) !void {
|
||||
// If you want to try fullscreen:
|
||||
// try core.set(core.state().main_window, .fullscreen, true);
|
||||
|
||||
core.schedule(.init);
|
||||
audio.schedule(.init);
|
||||
text.schedule(.init);
|
||||
text_pipeline.schedule(.init);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue