Skip to content

Commit

Permalink
Bring app to foreground on launch.
Browse files Browse the repository at this point in the history
  • Loading branch information
yay committed Sep 4, 2024
1 parent b959cde commit f0f4c8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions learn_metal/02-argbuffers-no-sdl/02-argbuffers-no-sdl.odin
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ metal_main :: proc() -> (err: ^NS.Error) {
}, "CustomWindowDelegate", context))
window->setTitle(NS.MakeConstantString("Use left/right arrow keys to rotate the triangle"))
window->setIsVisible(true)
// window->makeKeyAndOrderFront(nil)


app->finishLaunching()
app->activateIgnoringOtherApps(true)


device := MTL.CreateSystemDefaultDevice()
Expand Down

0 comments on commit f0f4c8f

Please sign in to comment.