Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ VkPhysicalDevice handle added as a new class member.

[,c++]
----
vk::raii::PhysicalDevice physicalDevice;
vk::raii::PhysicalDevice physicalDevice = nullptr;
----

Listing the graphics cards is very similar to listing extensions and starts with
Expand Down Expand Up @@ -189,7 +189,6 @@ void pickPhysicalDevice() {
found = found && extensionIter != extensions.end();
}
isSuitable = isSuitable && found;
printf("\n");
if (isSuitable) {
physicalDevice = device;
}
Expand Down
Loading