aboutsummaryrefslogtreecommitdiff
path: root/src/physical_device_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/physical_device_context.hh')
-rw-r--r--src/physical_device_context.hh10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/physical_device_context.hh b/src/physical_device_context.hh
index f7ad289..d2e094e 100644
--- a/src/physical_device_context.hh
+++ b/src/physical_device_context.hh
@@ -23,16 +23,12 @@ class PhysicalDeviceContext final : public Context {
public:
InstanceContext& instance;
-
const VkPhysicalDevice physical_device;
- std::unique_ptr<const VkPhysicalDeviceProperties> properties;
-
- using queue_properties_t = std::vector<VkQueueFamilyProperties2>;
- std::unique_ptr<const queue_properties_t> queue_properties;
+ std::unique_ptr<VkPhysicalDeviceProperties> properties;
+ std::unique_ptr<std::vector<VkQueueFamilyProperties2>> queue_properties;
- // Will be true if the physical device supports everything in
- // this->required_extensions.
+ // Will be true if the physical device supports all of required_extensions.
bool supports_required_extensions = false;
public: