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 c49de41 commit 8199076Copy full SHA for 8199076
src/gpu/vulkan/SDL_gpu_vulkan.c
@@ -7169,6 +7169,8 @@ static VkRenderPass VULKAN_INTERNAL_FetchRenderPass(
7169
key.sampleCount = VK_SAMPLE_COUNT_1_BIT;
7170
if (numColorTargets > 0) {
7171
key.sampleCount = SDLToVK_SampleCount[((VulkanTextureContainer *)colorTargetInfos[0].texture)->header.info.sample_count];
7172
+ } else if (numColorTargets == 0 && depthStencilTargetInfo != NULL) {
7173
+ key.sampleCount = SDLToVK_SampleCount[((VulkanTextureContainer *)depthStencilTargetInfo->texture)->header.info.sample_count];
7174
}
7175
7176
key.numColorTargets = numColorTargets;
0 commit comments