Browse Source

vulkan_wrapper: Pull Windows symbols

pull/15/merge
ReinUsesLisp 5 years ago
parent
commit
dde19e7d75
  1. 11
      src/video_core/vulkan_common/vulkan_wrapper.h
  2. 3
      src/yuzu/configuration/configure_graphics.cpp

11
src/video_core/vulkan_common/vulkan_wrapper.h

@ -15,8 +15,19 @@
#include <vector>
#define VK_NO_PROTOTYPES
#ifdef _WIN32
#define VK_USE_PLATFORM_WIN32_KHR
#endif
#include <vulkan/vulkan.h>
// Sanitize macros
#ifdef CreateEvent
#undef CreateEvent
#endif
#ifdef CreateSemaphore
#undef CreateSemaphore
#endif
#include "common/common_types.h"
#ifdef _MSC_VER

3
src/yuzu/configuration/configure_graphics.cpp

@ -2,6 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
// Include this early to include Vulkan headers how we want to
#include "video_core/vulkan_common/vulkan_wrapper.h"
#include <QColorDialog>
#include <QComboBox>
#include <QVulkanInstance>

Loading…
Cancel
Save