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 "shader/spv.hpp"
|
||||||
#include "shaders/rdna-semantic-spirv.hpp"
|
#include "shaders/rdna-semantic-spirv.hpp"
|
||||||
#include "vk.hpp"
|
#include "vk.hpp"
|
||||||
#include <GLFW/glfw3.h>
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
@ -26,6 +25,9 @@
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
#define GLFW_INCLUDE_NONE
|
||||||
|
#include <GLFW/glfw3.h>
|
||||||
|
|
||||||
using namespace amdgpu;
|
using namespace amdgpu;
|
||||||
|
|
||||||
static VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessageCallback(
|
static VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessageCallback(
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,12 @@
|
||||||
#include "shader/SemanticInfo.hpp"
|
#include "shader/SemanticInfo.hpp"
|
||||||
#include "shader/SpvConverter.hpp"
|
#include "shader/SpvConverter.hpp"
|
||||||
#include "shader/gcn.hpp"
|
#include "shader/gcn.hpp"
|
||||||
#include <GLFW/glfw3.h>
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <vulkan/vulkan_core.h>
|
#include <vulkan/vulkan_core.h>
|
||||||
|
|
||||||
|
struct GLFWwindow;
|
||||||
|
|
||||||
namespace amdgpu {
|
namespace amdgpu {
|
||||||
|
|
||||||
enum : std::uint8_t {
|
enum : std::uint8_t {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue