Skip to content

Commit

Permalink
Fix defines
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Mar 25, 2024
1 parent f250b91 commit 0c60150
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion vulkanDeviceInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ void VulkanDeviceInfo::readPlatformDetails()

void VulkanDeviceInfo::readProfiles()
{
#if not defined(DISABLE_PROFILES)
#if !defined(DISABLE_PROFILES)
qInfo() << "Reading profiles";

std::vector<VpProfileProperties> availableProfiles{};
Expand All @@ -804,6 +804,8 @@ void VulkanDeviceInfo::readProfiles()
profileInfo.supported = supported;
profiles.push_back(profileInfo);
}
#else
qInfo() << "Profiles disabled at build time";
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion vulkanDeviceInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#endif

#include "vulkanandroid.h"
#if not defined(DISABLE_PROFILES)
#if !defined(DISABLE_PROFILES)
#include "vulkan_profiles.hpp"
#endif

Expand Down

0 comments on commit 0c60150

Please sign in to comment.