windows: Clean out things that should be using defined(SDL_PLATFORM_WINDOWS).

This commit is contained in:
Ryan C. Gordon committed 2024-09-06 13:28:39 -04:00
1 parent 154452a726
commit ac08dde1b2
23 files changed
+47 -54

No files matched your search

-4
View File
@@ -787,16 +787,12 @@ done:
return result;
}
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
static DXGI_MODE_ROTATION D3D11_GetCurrentRotation(void)
{
// FIXME
return DXGI_MODE_ROTATION_IDENTITY;
}
#endif // defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
static BOOL D3D11_IsDisplayRotated90Degrees(DXGI_MODE_ROTATION rotation)
{
switch (rotation) {
+1 -1
View File
@@ -32,7 +32,7 @@ Andreas Schiffler -- aschiffler at ferzkopp dot net
#ifdef SDL_VIDEO_RENDER_SW
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_GDK)
#if defined(SDL_PLATFORM_WINDOWS)
#include "../../core/windows/SDL_windows.h"
#endif