mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 21:01:27 +00:00
Set number of samples to 1 at minimum, even if it was set to 0
This commit is contained in:
1 parent
f986b715b4
commit
5fade945cf
1 file changed
+1
-1
@@ -445,7 +445,7 @@ void VulkanCreationInfo::Image::Init(VulkanResourceManager *resourceMan, VulkanC
|
||||
extent = pCreateInfo->extent;
|
||||
arrayLayers = pCreateInfo->arrayLayers;
|
||||
mipLevels = pCreateInfo->mipLevels;
|
||||
samples = pCreateInfo->samples;
|
||||
samples = RDCMAX(VK_SAMPLE_COUNT_1_BIT, pCreateInfo->samples);
|
||||
|
||||
creationFlags = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user