Change debugging message of Renderer.destroy()
Signed-off-by: luccie-cmd <luccie@sideros.org>
This commit is contained in:
parent
98063d241d
commit
a2a3cea006
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue