Fix minor errors
This commit is contained in:
@@ -41,6 +41,8 @@ namespace FlaxEngine.Utilities
|
||||
public static string GetTypeDisplayName(this Type type)
|
||||
{
|
||||
// Special display for in-built basic types
|
||||
if (type == null)
|
||||
return "Null";
|
||||
if (type == typeof(bool))
|
||||
return "Bool";
|
||||
if (type == typeof(float))
|
||||
|
||||
@@ -77,7 +77,7 @@ GPUDevice* GPUDeviceDX12::Create()
|
||||
#endif
|
||||
#ifdef __ID3D12DeviceRemovedExtendedDataSettings_FWD_DEFINED__
|
||||
ComPtr<ID3D12DeviceRemovedExtendedDataSettings> dredSettings;
|
||||
VALIDATE_DIRECTX_CALL(D3D12GetDebugInterface(IID_PPV_ARGS(&dredSettings)));
|
||||
D3D12GetDebugInterface(IID_PPV_ARGS(&dredSettings));
|
||||
if (dredSettings)
|
||||
{
|
||||
// Turn on AutoBreadcrumbs and Page Fault reporting
|
||||
|
||||
Reference in New Issue
Block a user