forked from mirror/vulkan-zig
always provide default opaque{} external type implementations
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
@@ -1031,7 +1031,7 @@ fn Renderer(comptime WriterType: type) type {
|
||||
try self.writer.writeAll(default);
|
||||
try self.writer.writeAll(";\n");
|
||||
} else {
|
||||
try self.writer.print("@compileError(\"Missing type definition of '{s}'\");\n", .{name});
|
||||
try self.writer.print("opaque {{}};\n", .{});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user