mirror of
https://github.com/love2d/love.git
synced 2026-08-13 09:00:54 +02:00
Use SDL3-compatible SDL includes when SDL3 headers are available
This commit is contained in:
@@ -29,8 +29,13 @@
|
||||
#include "Shader.h"
|
||||
#include "Vulkan.h"
|
||||
|
||||
#if __has_include(<SDL3/SDL_version.h>)
|
||||
#include <SDL3/SDL_version.h>
|
||||
#include <SDL3/SDL_vulkan.h>
|
||||
#else
|
||||
#include <SDL_version.h>
|
||||
#include <SDL_vulkan.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user