Various fixes after merge with Windows ARM pr
This commit is contained in:
@@ -34,7 +34,7 @@ public class GraphicsDeviceDX12 : GraphicsDeviceBaseModule
|
||||
break;
|
||||
}
|
||||
|
||||
if (EnableWinPixEventRuntime && options.Configuration != TargetConfiguration.Release)
|
||||
if (EnableWinPixEventRuntime && options.Configuration != TargetConfiguration.Release && options.Platform.Target == TargetPlatform.Windows)
|
||||
{
|
||||
options.PrivateDefinitions.Add("USE_PIX");
|
||||
options.PrivateIncludePaths.Add(Path.Combine(Globals.EngineRoot, "Source/ThirdParty/WinPixEventRuntime"));
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// Fix compilation for Windows 8.1 on the latest Windows SDK
|
||||
typedef enum _MFVideoSphericalFormat { } MFVideoSphericalFormat;
|
||||
#endif
|
||||
#ifndef MF_SOURCE_READER_CURRENT_TYPE_INDEX
|
||||
#if !defined(MF_SOURCE_READER_CURRENT_TYPE_INDEX) && !defined(PLATFORM_GDK)
|
||||
// Fix compilation for Windows 7 on the latest Windows SDK
|
||||
#define MF_SOURCE_READER_CURRENT_TYPE_INDEX 0xFFFFFFFF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user