wayland: Don't include full Vulkan headers when not necessary.

Reference Issue #8142.
main
Ryan C. Gordon 2023-08-25 19:42:08 -04:00
parent f066bbe98a
commit 3c3486e2ac
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@
#include "SDL_waylandvideo.h"
#include "SDL_waylandwindow.h"
#include "../SDL_vulkan_internal.h"
#include "SDL_waylandvulkan.h"
#include <SDL3/SDL_syswm.h>

View File

@ -29,7 +29,7 @@
#ifndef SDL_waylandvulkan_h_
#define SDL_waylandvulkan_h_
#include "../SDL_vulkan_internal.h"
#include <SDL3/SDL_vulkan.h>
#include "../SDL_sysvideo.h"
#if defined(SDL_VIDEO_VULKAN) && defined(SDL_VIDEO_DRIVER_WAYLAND)