1 parent 2a716d8 commit 9fa68deCopy full SHA for 9fa68de
1 file changed
03_Drawing_a_triangle/00_Setup/03_Physical_devices_and_queue_families.md
@@ -91,7 +91,7 @@ version can be queried using vkGetPhysicalDeviceProperties.
91
92
```c++
93
VkPhysicalDeviceProperties deviceProperties;
94
-vkGetPhysicalDeviceProperties(physicalDevice, &deviceProperties);
+vkGetPhysicalDeviceProperties(device, &deviceProperties);
95
```
96
97
The support for optional features like texture compression, 64 bit floats and
@@ -100,7 +100,7 @@ vkGetPhysicalDeviceFeatures:
100
101
102
VkPhysicalDeviceFeatures deviceFeatures;
103
-vkGetPhysicalDeviceFeatures(physicalDevice, &deviceFeatures);
+vkGetPhysicalDeviceFeatures(device, &deviceFeatures);
104
105
106
There are more details that can be queried from devices that we'll discuss later
0 commit comments