diff options
Diffstat (limited to 'slang-gfx.h')
| -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 2acb8bf1a..3e30a6a32 100644 --- a/slang-gfx.h +++ b/slang-gfx.h @@ -706,7 +706,7 @@ public: GfxCount numMipLevels = 0; ///< Number of mip levels - if 0 will create all mip levels Format format; ///< The resources format SampleDesc sampleDesc; ///< How the resource is sampled - ClearValue optimalClearValue; + ClearValue* optimalClearValue = nullptr; }; /// Data for a single subresource of a texture. |
