From 6e4522324af6643ef4f40e229f195fbf09aa56cc Mon Sep 17 00:00:00 2001 From: Brage Date: Mon, 24 Jun 2024 10:43:51 +0200 Subject: [PATCH] update name and version --- build.zig | 2 +- src/vkEngine.zig | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.zig b/build.zig index ec432e54..37ce7549 100644 --- a/build.zig +++ b/build.zig @@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); const exe = b.addExecutable(.{ - .name = "zkaos", + .name = "matrisen", .root_source_file = .{ .path = "src/main.zig" }, .target = b.host, .optimize = optimize, diff --git a/src/vkEngine.zig b/src/vkEngine.zig index c85ff7b6..11f77710 100644 --- a/src/vkEngine.zig +++ b/src/vkEngine.zig @@ -92,7 +92,7 @@ const FRAME_OVERLAP = 2; pub fn init(a: std.mem.Allocator) Self { check_sdl(c.SDL_Init(c.SDL_INIT_VIDEO)); - const window = c.SDL_CreateWindow("floating", window_extent.width, window_extent.height, c.SDL_WINDOW_VULKAN | c.SDL_WINDOW_RESIZABLE) orelse @panic("Failed to create SDL window"); + const window = c.SDL_CreateWindow("matrisen", window_extent.width, window_extent.height, c.SDL_WINDOW_VULKAN | c.SDL_WINDOW_RESIZABLE) orelse @panic("Failed to create SDL window"); _ = c.SDL_ShowWindow(window); var engine = Self{ @@ -441,10 +441,10 @@ fn init_instance(self: *Self) void { const sdl_extension_slice = sdl_extensions[0..sdl_required_extension_count]; const instance = vki.Instance.create(std.heap.page_allocator, .{ - .application_name = "zzz", - .application_version = c.VK_MAKE_VERSION(0, 1, 0), - .engine_name = "zzz", - .engine_version = c.VK_MAKE_VERSION(0, 1, 0), + .application_name = "matrisen", + .application_version = c.VK_MAKE_VERSION(0, 0, 1), + .engine_name = "matrisen", + .engine_version = c.VK_MAKE_VERSION(0, 0, 1), .api_version = c.VK_MAKE_VERSION(1, 3, 0), .debug = true, .required_extensions = sdl_extension_slice,