Skip to content

Commit

Permalink
JBR-6045 WLToolkit(Vulkan): Add options to select physical device
Browse files Browse the repository at this point in the history
Changed access to _name field, minor corrections in verbose print
  • Loading branch information
avu authored and jbrbot committed Nov 8, 2024
1 parent 7ea0f44 commit 36407e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ VKGraphicsEnvironment::VKGraphicsEnvironment() :
fprintf(stderr, " %c%ld: %s\n", devNum == _default_device_number ? '*' : ' ',
devNum, (*devIter)->name().c_str());
}
fprintf(stderr, "\n");
}
fprintf(stderr, "\n");
_default_device = &*_devices[_default_device_number]; // TODO pick first just to check hat virtual device creation works
_default_device->init();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class VKDevice : public vk::raii::Device, public vk::raii::PhysicalDevice {
return *((const vk::raii::Device&) *this);
}

std::string& name() {
const std::string& name() {
return _name;
}
};
Expand Down

0 comments on commit 36407e9

Please sign in to comment.