Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
This commit is contained in:
commit
108cdbc14c
141 changed files with 1065 additions and 2439 deletions
|
|
@ -14,6 +14,11 @@ VkResult VulkanExampleBase::createInstance(bool enableValidation)
|
|||
{
|
||||
this->settings.validation = enableValidation;
|
||||
|
||||
// Validation can also be forced via a define
|
||||
#if defined(_VALIDATION)
|
||||
this->settings.validation = true;
|
||||
#endif
|
||||
|
||||
VkApplicationInfo appInfo = {};
|
||||
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
|
||||
appInfo.pApplicationName = name.c_str();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue