Properly enable validation
This commit is contained in:
parent
17e3313b53
commit
65a8043087
1 changed files with 2 additions and 2 deletions
|
|
@ -683,7 +683,7 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation, PFN_GetEnabledFeatur
|
|||
{
|
||||
if (arg == std::string("-validation"))
|
||||
{
|
||||
enableValidation = true;
|
||||
this->enableValidation = true;
|
||||
}
|
||||
if (arg == std::string("-vsync"))
|
||||
{
|
||||
|
|
@ -708,7 +708,7 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation, PFN_GetEnabledFeatur
|
|||
#if defined(_WIN32)
|
||||
// Enable console if validation is active
|
||||
// Debug message callback will output to it
|
||||
if (enableValidation)
|
||||
if (this->enableValidation)
|
||||
{
|
||||
setupConsole("VulkanExample");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue