Buildfixes

This commit is contained in:
Henrik Rydgård 2020-06-21 23:13:05 +02:00
parent fbc4fa5bca
commit 3d743a5ae7
5 changed files with 4 additions and 5 deletions

View File

@ -396,6 +396,8 @@ set(CommonWindows
source_group(Windows FILES ${CommonWindows})
set(CommonVulkan ${CommonExtra}
Common/Vulkan/VulkanDebug.cpp
Common/Vulkan/VulkanDebug.h
Common/Vulkan/VulkanContext.cpp
Common/Vulkan/VulkanContext.h
Common/Vulkan/VulkanImage.cpp

View File

@ -23,7 +23,7 @@
#include "Common/Vulkan/VulkanContext.h"
#include "Common/Vulkan/VulkanDebug.h"
VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,

View File

@ -25,4 +25,4 @@ struct VulkanLogOptions {
bool msgBoxOnError;
};
VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData, void *pUserData);
VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData, void *pUserData);

View File

@ -42,5 +42,4 @@ public:
private:
Draw::DrawContext *draw_ = nullptr;
VulkanContext *vulkan_ = nullptr;
VulkanLogOptions g_LogOptions;
};

View File

@ -13,8 +13,6 @@
#include "Core/ConfigValues.h"
#include "Core/System.h"
static VulkanLogOptions g_LogOptions;
AndroidVulkanContext::AndroidVulkanContext() {}
AndroidVulkanContext::~AndroidVulkanContext() {