Skip to content

Commit

Permalink
Buildfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jun 21, 2020
1 parent fbc4fa5 commit 3d743a5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Common/Vulkan/VulkanDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Common/Vulkan/VulkanDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
1 change: 0 additions & 1 deletion SDL/SDLVulkanGraphicsContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ class SDLVulkanGraphicsContext : public GraphicsContext {
private:
Draw::DrawContext *draw_ = nullptr;
VulkanContext *vulkan_ = nullptr;
VulkanLogOptions g_LogOptions;
};
2 changes: 0 additions & 2 deletions android/jni/AndroidVulkanContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include "Core/ConfigValues.h"
#include "Core/System.h"

static VulkanLogOptions g_LogOptions;

AndroidVulkanContext::AndroidVulkanContext() {}

AndroidVulkanContext::~AndroidVulkanContext() {
Expand Down

0 comments on commit 3d743a5

Please sign in to comment.