mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 01:08:44 +00:00
We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL
This commit is contained in:
parent
cfe2050c04
commit
23beef4fc7
25 changed files with 0 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue