GDK: Windows shape is desktop-only
This commit is contained in:
parent
794f0f1b42
commit
290f64b86c
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#ifdef SDL_VIDEO_DRIVER_WINDOWS
|
#if defined(SDL_VIDEO_DRIVER_WINDOWS) && !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
||||||
|
|
||||||
#include "SDL_windowsvideo.h"
|
#include "SDL_windowsvideo.h"
|
||||||
#include "SDL_windowsshape.h"
|
#include "SDL_windowsshape.h"
|
||||||
|
@ -121,4 +121,4 @@ int WIN_UpdateWindowShape(SDL_VideoDevice *_this, SDL_Window *window, SDL_Surfac
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_WINDOWS */
|
#endif /* defined(SDL_VIDEO_DRIVER_WINDOWS) && !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES) */
|
||||||
|
|
|
@ -209,8 +209,8 @@ static SDL_VideoDevice *WIN_CreateDevice(void)
|
||||||
device->FlashWindow = WIN_FlashWindow;
|
device->FlashWindow = WIN_FlashWindow;
|
||||||
device->ShowWindowSystemMenu = WIN_ShowWindowSystemMenu;
|
device->ShowWindowSystemMenu = WIN_ShowWindowSystemMenu;
|
||||||
device->SetWindowFocusable = WIN_SetWindowFocusable;
|
device->SetWindowFocusable = WIN_SetWindowFocusable;
|
||||||
#endif
|
|
||||||
device->UpdateWindowShape = WIN_UpdateWindowShape;
|
device->UpdateWindowShape = WIN_UpdateWindowShape;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef SDL_VIDEO_OPENGL_WGL
|
#ifdef SDL_VIDEO_OPENGL_WGL
|
||||||
device->GL_LoadLibrary = WIN_GL_LoadLibrary;
|
device->GL_LoadLibrary = WIN_GL_LoadLibrary;
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
#include "SDL_windowsclipboard.h"
|
#include "SDL_windowsclipboard.h"
|
||||||
#include "SDL_windowsevents.h"
|
#include "SDL_windowsevents.h"
|
||||||
#include "SDL_windowsopengl.h"
|
#include "SDL_windowsopengl.h"
|
||||||
#include "SDL_windowsshape.h"
|
|
||||||
|
|
||||||
#if !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
#if !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
||||||
|
#include "SDL_windowsshape.h"
|
||||||
#include "SDL_windowskeyboard.h"
|
#include "SDL_windowskeyboard.h"
|
||||||
#include "SDL_windowsmodes.h"
|
#include "SDL_windowsmodes.h"
|
||||||
#include "SDL_windowsmouse.h"
|
#include "SDL_windowsmouse.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue