mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Do not allow GLFW include unused headers
This commit is contained in:
parent
a7152c7ad7
commit
47e164d2ad
|
|
@ -18,7 +18,6 @@
|
|||
#include "shader/spv.hpp"
|
||||
#include "shaders/rdna-semantic-spirv.hpp"
|
||||
#include "vk.hpp"
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <chrono>
|
||||
#include <cstdio>
|
||||
#include <fcntl.h>
|
||||
|
|
@ -26,6 +25,9 @@
|
|||
#include <sys/mman.h>
|
||||
#include <thread>
|
||||
|
||||
#define GLFW_INCLUDE_NONE
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
using namespace amdgpu;
|
||||
|
||||
static VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessageCallback(
|
||||
|
|
|
|||
|
|
@ -11,11 +11,12 @@
|
|||
#include "shader/SemanticInfo.hpp"
|
||||
#include "shader/SpvConverter.hpp"
|
||||
#include "shader/gcn.hpp"
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <array>
|
||||
#include <thread>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
struct GLFWwindow;
|
||||
|
||||
namespace amdgpu {
|
||||
|
||||
enum : std::uint8_t {
|
||||
|
|
|
|||
Loading…
Reference in a new issue