modules are global
This commit is contained in:
@@ -2,22 +2,22 @@ const std = @import("std");
|
||||
|
||||
const Window = @import("Window.zig");
|
||||
|
||||
const Self = @This();
|
||||
|
||||
// isolate all the vulkan code through this path
|
||||
// except for imgui code
|
||||
|
||||
// const au = @import("au.zig");
|
||||
|
||||
pub fn init(alloc: std.mem.Allocator, window: *Window) !Self {
|
||||
pub fn init(alloc: std.mem.Allocator) !void {
|
||||
_ = alloc;
|
||||
_ = window;
|
||||
|
||||
std.debug.print("Init Render\n", .{});
|
||||
|
||||
// todo check vulkan supported
|
||||
// todo create window surface
|
||||
return .{};
|
||||
}
|
||||
|
||||
pub fn deinit(self: *Self) void {
|
||||
_ = self;
|
||||
pub fn frame() void {
|
||||
std.debug.print("frame\n", .{ });
|
||||
}
|
||||
|
||||
pub fn deinit() void {}
|
||||
|
Reference in New Issue
Block a user