Atlas - SDL_video_unsupported.c
Home / ext / SDL / src / video Lines: 1 | Size: 2621 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1/* 2 Simple DirectMedia Layer 3 Copyright (C) 1997-2025 Sam Lantinga <[email protected]> 4 5 This software is provided 'as-is', without any express or implied 6 warranty. In no event will the authors be held liable for any damages 7 arising from the use of this software. 8 9 Permission is granted to anyone to use this software for any purpose, 10 including commercial applications, and to alter it and redistribute it 11 freely, subject to the following restrictions: 12 13 1. The origin of this software must not be misrepresented; you must not 14 claim that you wrote the original software. If you use this software 15 in a product, an acknowledgment in the product documentation would be 16 appreciated but is not required. 17 2. Altered source versions must be plainly marked as such, and must not be 18 misrepresented as being the original software. 19 3. This notice may not be removed or altered from any source distribution. 20*/ 21#include "SDL_internal.h" 22 23#include "SDL_video_unsupported.h" 24 25#ifndef SDL_VIDEO_DRIVER_WINDOWS 26 27#if defined(SDL_PLATFORM_WINDOWS) 28 29bool SDL_RegisterApp(const char *name, Uint32 style, void *hInst) 30{ 31 (void)name; 32 (void)style; 33 (void)hInst; 34 return true; 35} 36 37void SDL_UnregisterApp(void) 38{ 39} 40 41void SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata) 42{ 43} 44 45#endif // defined(SDL_PLATFORM_WINDOWS) 46 47bool SDL_GetDXGIOutputInfo(SDL_DisplayID displayID, int *adapterIndex, int *outputIndex) 48{ 49 (void)displayID; 50 (void)adapterIndex; 51 (void)outputIndex; 52 return SDL_Unsupported(); 53} 54 55int SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID) 56{ 57 (void)displayID; 58 SDL_Unsupported(); 59 return -1; 60} 61 62#elif defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES) 63 64int SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID) 65{ 66 (void)displayID; 67 SDL_Unsupported(); 68 return -1; 69} 70 71#endif // !SDL_VIDEO_DRIVER_WINDOWS 72 73#ifndef SDL_PLATFORM_GDK 74 75bool SDL_GetGDKTaskQueue(XTaskQueueHandle *outTaskQueue) 76{ 77 (void)outTaskQueue; 78 return SDL_Unsupported(); 79} 80 81#endif 82 83#if !defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_TVOS) || defined(SDL_PLATFORM_VISIONOS) 84 85void SDL_OnApplicationDidChangeStatusBarOrientation(void) 86{ 87 SDL_Unsupported(); 88} 89 90#endif 91 92#ifndef SDL_VIDEO_DRIVER_UIKIT 93 94bool SDL_SetiOSAnimationCallback(SDL_Window *window, int interval, SDL_iOSAnimationCallback callback, void *callbackParam) 95{ 96 (void)window; 97 (void)interval; 98 (void)callback; 99 (void)callbackParam; 100 return SDL_Unsupported(); 101} 102 103void SDL_SetiOSEventPump(bool enabled) 104{ 105 (void)enabled; 106 SDL_Unsupported(); 107} 108#endif 109 110[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.