todo note
This commit is contained in:
@@ -171,6 +171,9 @@ pub fn main() !void {
|
||||
|
||||
render(dev.dev, dev.vkd, sc.ref, frame, dev.queue) catch |err| switch (err) {
|
||||
error.OutOfDateKHR => {
|
||||
// TODO: this is a hack to safely destroy sync primitives
|
||||
// don't do this. be smart about sync primitive reuse or
|
||||
// move them to "garbage" to be destroyed later.
|
||||
try dev.vkd.deviceWaitIdle(dev.dev);
|
||||
|
||||
try sc.init();
|
||||
|
Reference in New Issue
Block a user