Skip to content

Commit

Permalink
Attempted buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Feb 27, 2023
1 parent ef4f17e commit 5d5e02d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Common/GPU/Vulkan/VulkanLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@

#include "ext/vulkan/vulkan.h"

// Hacky X11 header workaround
#ifdef Opposite
#undef Opposite
#endif

namespace PPSSPP_VK {
// Putting our own Vulkan function pointers in a namespace ensures that ppsspp_libretro.so doesn't collide with libvulkan.so.
extern PFN_vkCreateInstance vkCreateInstance;
Expand Down

0 comments on commit 5d5e02d

Please sign in to comment.