We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL

This commit is contained in:
Sam Lantinga
2023-01-12 15:55:52 -08:00
parent cfe2050c04
commit 23beef4fc7
25 changed files with 0 additions and 26 deletions

View File

@@ -28,7 +28,6 @@
#include "../SDL_d3dmath.h"
#include "../../video/windows/SDL_windowsvideo.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#if SDL_VIDEO_RENDER_D3D

View File

@@ -30,7 +30,6 @@
#include "../SDL_sysrender.h"
#include "../SDL_d3dmath.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#include <d3d11_1.h>

View File

@@ -39,7 +39,6 @@ using namespace Windows::Graphics::Display;
#include <DXGI.h>
#define SDL_ENABLE_SYSWM_WINRT
#include <SDL3/SDL_syswm.h>
#include "SDL_render_winrt.h"

View File

@@ -32,7 +32,6 @@
#include "../SDL_sysrender.h"
#include "../SDL_d3dmath.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#if defined(__XBOXONE__) || defined(__XBOXSERIES__)

View File

@@ -31,11 +31,9 @@
#ifdef SDL_VIDEO_DRIVER_COCOA
#import <AppKit/NSWindow.h>
#import <AppKit/NSView.h>
#define SDL_ENABLE_SYSWM_COCOA
#endif
#ifdef SDL_VIDEO_DRIVER_UIKIT
#import <UIKit/UIKit.h>
#define SDL_ENABLE_SYSWM_UIKIT
#endif
#include <SDL3/SDL_syswm.h>