diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2022-11-07 15:06:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-07 09:06:58 -0500 |
| commit | 72ce0584d273ac5f04c3d9096f3523da68cc6fc1 (patch) | |
| tree | 2b78b9fad84af7f9cf8f5cfcf4fb7c6841fc8267 | |
| parent | a20f6a03062d72135ae046319c378709fe2a8df6 (diff) | |
Make adapterLUID const pointer (#2494)
| -rw-r--r-- | slang-gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
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`. |
