From 72ce0584d273ac5f04c3d9096f3523da68cc6fc1 Mon Sep 17 00:00:00 2001 From: skallweitNV <64953474+skallweitNV@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:06:58 +0100 Subject: Make adapterLUID const pointer (#2494) --- slang-gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slang-gfx.h b/slang-gfx.h index 8db2a6ee4..7b8107179 100644 --- a/slang-gfx.h +++ b/slang-gfx.h @@ -2208,7 +2208,7 @@ public: // and the third is the VkDevice. For CUDA, this only contains a single value for the CUDADevice. InteropHandles existingDeviceHandles; // LUID of the adapter to use. Use getGfxAdapters() to get a list of available adapters. - AdapterLUID* adapterLUID = nullptr; + const AdapterLUID* adapterLUID = nullptr; // Number of required features. GfxCount requiredFeatureCount = 0; // Array of required feature names, whose size is `requiredFeatureCount`. -- cgit v1.2.3