debug device and present mode
This commit is contained in:
@@ -65,6 +65,11 @@ pub fn main() !void {
|
||||
try au.init(alloc);
|
||||
defer au.deinit();
|
||||
|
||||
{
|
||||
const pdev_prop = au.I.getPhysicalDeviceProperties(au.device_config.pdev);
|
||||
std.debug.print("Selected '{s}' in mode '{any}'\n", .{ pdev_prop.device_name, au.device_config.mode });
|
||||
}
|
||||
|
||||
var sc = try au.SwapChain.init(alloc);
|
||||
defer sc.deinit();
|
||||
|
||||
|
Reference in New Issue
Block a user