Compare commits

...

2 Commits

1 changed files with 3 additions and 3 deletions

View File

@ -2985,7 +2985,7 @@ static void VULKAN_INTERNAL_RemoveFramebuffersContainingView(
for (j = 0; j < hash->colorAttachmentCount; j += 1)
{
if (hash->colorAttachmentViews[i] == view)
if (hash->colorAttachmentViews[j] == view)
{
VULKAN_INTERNAL_QueueDestroyFramebuffer(
renderer,
@ -10048,11 +10048,11 @@ static void VULKAN_Submit(
}
}
SDL_UnlockMutex(renderer->submitLock);
/* Check pending destroys */
VULKAN_INTERNAL_PerformPendingDestroys(renderer);
SDL_UnlockMutex(renderer->submitLock);
}
/* Device instantiation */