diff --git a/rpcsx/gpu/Device.cpp b/rpcsx/gpu/Device.cpp index ad188d6d4..c0f1cd2d5 100644 --- a/rpcsx/gpu/Device.cpp +++ b/rpcsx/gpu/Device.cpp @@ -18,7 +18,6 @@ #include "shader/spv.hpp" #include "shaders/rdna-semantic-spirv.hpp" #include "vk.hpp" -#include #include #include #include @@ -26,6 +25,9 @@ #include #include +#define GLFW_INCLUDE_NONE +#include + using namespace amdgpu; static VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessageCallback( diff --git a/rpcsx/gpu/Device.hpp b/rpcsx/gpu/Device.hpp index 4f3c65da2..bfcda25b3 100644 --- a/rpcsx/gpu/Device.hpp +++ b/rpcsx/gpu/Device.hpp @@ -11,11 +11,12 @@ #include "shader/SemanticInfo.hpp" #include "shader/SpvConverter.hpp" #include "shader/gcn.hpp" -#include #include #include #include +struct GLFWwindow; + namespace amdgpu { enum : std::uint8_t {