summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 55473c4..ec3ddf4 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -299,6 +299,9 @@ void InitVulkan() {
}
vkPhysicalDevice = device;
+ VkPhysicalDeviceProperties deviceProps;
+ vkGetPhysicalDeviceProperties(vkPhysicalDevice, &deviceProps);
+ printf("Selected VkPhysicalDevice: %s\n", deviceProps.deviceName);
break;
}
assert(vkPhysicalDevice != nullptr && "Failed to find suitable physical device");