removal of old XboxOneStuff

This commit is contained in:
honzapatCZ
2021-07-21 15:10:39 +02:00
parent 36456bfe74
commit c17d86a134
308 changed files with 225 additions and 26405 deletions

View File

@@ -55,11 +55,11 @@ public class Graphics : EngineModule
else
Log.WarningOnce("Building for Windows without DirectX 12 rendering backend (Windows 10 SDK is required)", ref _logMissingWindowsSDK);
break;
case TargetPlatform.XboxOne:
case TargetPlatform.UWP:
options.PrivateDependencies.Add("GraphicsDeviceDX11");
break;
case TargetPlatform.XboxScarlett:
case TargetPlatform.XboxOne:
case TargetPlatform.XboxScarlett:
options.PrivateDependencies.Add("GraphicsDeviceDX12");
break;
case TargetPlatform.Linux:

View File

@@ -155,6 +155,14 @@ bool GraphicsService::Init()
device = CreateGPUDevicePS4();
#endif
#elif PLATFORM_XBOX_ONE
// Xbox One
#if GRAPHICS_API_DIRECTX12
if (!device)
device = CreateGPUDeviceDX12();
#endif
#elif PLATFORM_XBOX_SCARLETT
// Xbox Scarlett