We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed80a0 commit 1fc0934Copy full SHA for 1fc0934
src/gpu/vulkan/SDL_gpu_vulkan.c
@@ -7189,6 +7189,8 @@ static VkRenderPass VULKAN_INTERNAL_FetchRenderPass(
7189
key.sampleCount = VK_SAMPLE_COUNT_1_BIT;
7190
if (numColorTargets > 0) {
7191
key.sampleCount = SDLToVK_SampleCount[((VulkanTextureContainer *)colorTargetInfos[0].texture)->header.info.sample_count];
7192
+ } else if (numColorTargets == 0 && depthStencilTargetInfo != NULL) {
7193
+ key.sampleCount = SDLToVK_SampleCount[((VulkanTextureContainer *)depthStencilTargetInfo->texture)->header.info.sample_count];
7194
}
7195
7196
key.numColorTargets = numColorTargets;
0 commit comments