Change debugging message of Renderer.destroy()

Signed-off-by: luccie-cmd <luccie@sideros.org>
This commit is contained in:
luccie-cmd 2025-03-16 23:04:19 +01:00 committed by Lorenzo Torres
parent 98063d241d
commit a2a3cea006

View file

@ -850,8 +850,7 @@ pub fn Device(comptime n: usize) type {
pub fn waitIdle(self: Self) void { pub fn waitIdle(self: Self) void {
const mapErrorRes = mapError(c.vkDeviceWaitIdle(self.handle)); const mapErrorRes = mapError(c.vkDeviceWaitIdle(self.handle));
if(mapErrorRes) {} else |err| { if(mapErrorRes) {} else |err| {
std.debug.print("ERROR: VULKAN ERROR {any}\n", .{err}); std.debug.panic("Vulkan wait idle error: {any}\n", .{err});
std.process.exit(1);
} }
} }