From 668e445778dca56f1e6fbf0574bad5cff52b1770 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 8 Sep 2016 14:53:23 +0200 Subject: [PATCH] Allow C# side manual construction of ResourceIds from integers * This is primarily for ease-of-use from python scripting --- renderdocui/Interop/CaptureOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdocui/Interop/CaptureOptions.cs b/renderdocui/Interop/CaptureOptions.cs index 8ca4efdd5..337d8621b 100644 --- a/renderdocui/Interop/CaptureOptions.cs +++ b/renderdocui/Interop/CaptureOptions.cs @@ -57,9 +57,9 @@ namespace renderdoc return !(x == y); } - public static ResourceId Null = new ResourceId(0, true); + public static ResourceId Null = new ResourceId(0); - private ResourceId(UInt64 id, bool explicitConstruct) + public ResourceId(UInt64 id) { m_ID = id; }