mirror of https://github.com/libsdl-org/SDL
Merge commit '23beef4fc7e0d218e02ebbcd363adae63254c54d' into main
This commit is contained in:
commit
76e0d6a577
|
@ -28,7 +28,6 @@
|
|||
|
||||
#ifdef SDL_VIDEO_DRIVER_X11
|
||||
#include "../../video/x11/SDL_x11video.h"
|
||||
#define SDL_ENABLE_SYSWM_X11
|
||||
#endif
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#ifdef SDL_VIDEO_DRIVER_X11
|
||||
#include "../../video/x11/SDL_x11video.h"
|
||||
#define SDL_ENABLE_SYSWM_X11
|
||||
#endif
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include "SDL_androidvulkan.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_ANDROID
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
int Android_Vulkan_LoadLibrary(_THIS, const char *path)
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "SDL_androidvideo.h"
|
||||
#include "SDL_androidwindow.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_ANDROID
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* Currently only one window */
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_COCOA && (SDL_VIDEO_VULKAN || SDL_VIDEO_METAL)
|
||||
|
||||
#define SDL_ENABLE_SYSWM_COCOA
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
static int SDLCALL SDL_MetalViewEventWatch(void *userdata, SDL_Event *event)
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "SDL_cocoametalview.h"
|
||||
#include "SDL_cocoavulkan.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_COCOA
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include "SDL_cocoaopengl.h"
|
||||
#include "SDL_cocoaopengles.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_COCOA
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* #define DEBUG_COCOAWINDOW */
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "../../core/openbsd/SDL_wscons.h"
|
||||
#endif
|
||||
|
||||
#define SDL_ENABLE_SYSWM_KMSDRM
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* KMS/DRM declarations */
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "SDL_kmsdrmdyn.h"
|
||||
#include "SDL_kmsdrmvulkan.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_KMSDRM
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#import "SDL_uikitwindow.h"
|
||||
#import "SDL_uikitmetalview.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_UIKIT
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
@implementation SDL_uikitmetalview
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "SDL_uikitvulkan.h"
|
||||
#include "SDL_uikitmetalview.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_UIKIT
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "SDL_uikitview.h"
|
||||
#include "SDL_uikitopenglview.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_UIKIT
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include "SDL_waylandvulkan.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WAYLAND
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "../SDL_sysvideo.h"
|
||||
#include "../../events/SDL_touch_c.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WAYLAND
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include "SDL_waylandvideo.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "../../events/SDL_touch_c.h"
|
||||
#include "../../events/scancodes_windows.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WINDOWS
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* Dropfile support */
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include "SDL_windowsvulkan.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WINDOWS
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
int WIN_Vulkan_LoadLibrary(_THIS, const char *path)
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
/* Dropfile support */
|
||||
#include <shellapi.h>
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WINDOWS
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* Windows CE compatibility */
|
||||
|
|
|
@ -67,7 +67,6 @@ extern "C" {
|
|||
#include "SDL_winrtmouse_c.h"
|
||||
#include "SDL_winrtvideo_cpp.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_WINRT
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
/* Initialization/Query functions */
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "../../events/SDL_mouse_c.h"
|
||||
#include "../../events/SDL_touch_c.h"
|
||||
|
||||
#define SDL_ENABLE_SYSWM_X11
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "SDL_x11opengles.h"
|
||||
#endif
|
||||
|
||||
#define SDL_ENABLE_SYSWM_X11
|
||||
#include <SDL3/SDL_syswm.h>
|
||||
|
||||
#define _NET_WM_STATE_REMOVE 0l
|
||||
|
|
Loading…
Reference in New Issue