We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9602bf commit 189cd09Copy full SHA for 189cd09
en/03_Drawing_a_triangle/00_Setup/03_Physical_devices_and_queue_families.adoc
@@ -30,7 +30,7 @@ VkPhysicalDevice handle added as a new class member.
30
31
[,c++]
32
----
33
-vk::raii::PhysicalDevice physicalDevice;
+vk::raii::PhysicalDevice physicalDevice = nullptr;
34
35
36
Listing the graphics cards is very similar to listing extensions and starts with
@@ -189,7 +189,6 @@ void pickPhysicalDevice() {
189
found = found && extensionIter != extensions.end();
190
}
191
isSuitable = isSuitable && found;
192
- printf("\n");
193
if (isSuitable) {
194
physicalDevice = device;
195
0 commit comments