Fix missing {s} in triangle.zig

This commit is contained in:
Robin Voetter
2021-01-08 19:47:56 +01:00
parent 55e8551cef
commit 19138aa7a3

View File

@@ -61,7 +61,7 @@ pub fn main() !void {
const gc = try GraphicsContext.init(allocator, app_name, window);
defer gc.deinit();
std.debug.print("Using device: {}\n", .{gc.deviceName()});
std.debug.print("Using device: {s}\n", .{ gc.deviceName() });
var swapchain = try Swapchain.init(&gc, allocator, extent);
defer swapchain.deinit();