Files
UnrealEngineUWP/Engine/Source/Runtime/AVEncoder/Private/MicrosoftCommon.cpp
David Harvey d748fca6d6 removing some rogue references to PLATFORM_XBOXONE and WITH_LEGACY_XDK.
#jira UE-124892
#rnx
#preflight 628512552a7df8ed9f9bc713
#rb Eric.McDaniel

[CL 20261866 by David Harvey in ue5-main branch]
2022-05-18 11:45:55 -04:00

46 lines
878 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MicrosoftCommon.h"
#if PLATFORM_WINDOWS
#if WMFMEDIA_SUPPORTED_PLATFORM
#pragma comment(lib, "mfplat")
#pragma comment(lib, "mfuuid")
#pragma comment(lib, "Mfreadwrite")
#endif
namespace AVEncoder
{
//
// Windows only code
//
//#if PLATFORM_WINDOWS
//ID3D11Device* GetUE4DxDevice()
//{
// auto Device = static_cast<ID3D11Device*>(GDynamicRHI->RHIGetNativeDevice());
// checkf(Device != nullptr, TEXT("Failed to get UE4's ID3D11Device"));
// return Device;
//}
//#endif
//
////
//// XboxOne only code
////
//#if PLATFORM_XBOXONE
//ID3D12Device* GetUE4DxDevice()
//{
// auto Device = static_cast<ID3D12Device*>(GDynamicRHI->RHIGetNativeDevice());
// checkf(Device != nullptr, TEXT("Failed to get UE4's ID3D12Device"));
// return Device;
//}
//
//#endif
} // namespace AVEncoder
#endif // PLATFORM_WINDOWS