stn := @use("../../../libraries/stn/src/lib.hb"); .{string, memory, buffer} := stn horizon_api := @use("../../../libraries/horizon_api/src/lib.hb"); .{create_window} := horizon_api ignim := @use("../../../libraries/ignim/src/lib.hb"); .{init_vulkan} := ignim main := fn(): int { windowing_system_buffer := buffer.create("XHorizon\0") create_window(windowing_system_buffer) // TODO: get WindowID vk_state := init_vulkan() if vk_state == ignim.errors.IncompatibleDriver { stn.log.info("Incompatible Vulkan Driver\0") } return 0 }