restructure
This commit is contained in:
@@ -2,7 +2,7 @@ const std = @import("std");
|
||||
const lib = @import("zig-shape-lib");
|
||||
const builtin = @import("builtin");
|
||||
|
||||
const Core = @import("core.zig");
|
||||
const Core = @import("Core.zig");
|
||||
|
||||
pub fn main() !void {
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
@@ -15,11 +15,7 @@ pub fn main() !void {
|
||||
std.log.debug("Created instance: {any}", .{core.i.handle});
|
||||
std.log.debug("Created device: {any}", .{core.d.handle});
|
||||
std.log.debug("Created queue: {any}", .{core.q.handle});
|
||||
|
||||
// var surface: vk.SurfaceKHR = undefined;
|
||||
// if (glfwCreateWindowSurface(instance, window, null, &surface) != vk.Result.success) {
|
||||
// return error.SurfaceCreateFailed;
|
||||
// }
|
||||
std.log.debug("Created surface: {any}", .{core.surface});
|
||||
|
||||
// var caps = try I.getPhysicalDeviceSurfaceCapabilitiesKHR(pdev, surface);
|
||||
// const format = search: {
|
||||
|
Reference in New Issue
Block a user