Enabled device extensions can now be set, display error message if device cannot be created
This commit is contained in:
parent
b30fd58557
commit
1c595c61e8
3 changed files with 21 additions and 13 deletions
|
|
@ -85,6 +85,8 @@ protected:
|
|||
* @note By default no phyiscal device features are enabled
|
||||
*/
|
||||
VkPhysicalDeviceFeatures enabledFeatures{};
|
||||
/** @brief Set of device extensions to be enabled for this example (must be set in the derived constructor) */
|
||||
std::vector<const char*> enabledExtensions;
|
||||
/** @brief Logical device, application's view of the physical device (GPU) */
|
||||
// todo: getter? should always point to VulkanDevice->device
|
||||
VkDevice device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue