diff --git a/learn_metal/02-argbuffers-no-sdl/02-argbuffers-no-sdl.odin b/learn_metal/02-argbuffers-no-sdl/02-argbuffers-no-sdl.odin index 3100b24..a8aee23 100644 --- a/learn_metal/02-argbuffers-no-sdl/02-argbuffers-no-sdl.odin +++ b/learn_metal/02-argbuffers-no-sdl/02-argbuffers-no-sdl.odin @@ -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()