diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index 9183b93..0056ad3 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -753,7 +753,7 @@ PhysicalDeviceSelector& PhysicalDeviceSelector::prefer_gpu_device_type (Preferre criteria.preferred_type = type; return *this; } -PhysicalDeviceSelector& PhysicalDeviceSelector::allow_fallback_gpu (bool fallback) { +PhysicalDeviceSelector& PhysicalDeviceSelector::allow_fallback_gpu_type (bool fallback) { criteria.allow_fallback = fallback; return *this; } diff --git a/src/VkBootstrap.h b/src/VkBootstrap.h index bd90eec..462c662 100644 --- a/src/VkBootstrap.h +++ b/src/VkBootstrap.h @@ -97,7 +97,6 @@ template class Expected { /* TODO implement operator == and operator != as friend or global */ } // namespace detail - struct SystemInfo { SystemInfo (); // Returns true if a layer is available @@ -155,7 +154,6 @@ class InstanceBuilder { // Sets the vulkan API version to use. InstanceBuilder& set_api_version (uint32_t major, uint32_t minor, uint32_t patch); - // Loads the specified layer if it is available. InstanceBuilder& request_layer (const char* layer_name); // Adds a layer to be enabled. Will fail to create an instance if the layer isn't available. @@ -293,7 +291,7 @@ class PhysicalDeviceSelector { // Set the desired physical device type to select. Defaults to PreferredDeviceType::discrete. PhysicalDeviceSelector& prefer_gpu_device_type (PreferredDeviceType type = PreferredDeviceType::discrete); // Allow fallback to a device type that isn't the preferred physical device type. Defaults to true. - PhysicalDeviceSelector& allow_fallback_gpu (bool fallback = true); + PhysicalDeviceSelector& allow_fallback_gpu_type (bool fallback = true); // Require that a physical device supports presentation. Defaults to true. PhysicalDeviceSelector& require_present (bool require = true);