Compare commits

..

No commits in common. "9dcc3fff28622ddb8ebef2c7a6b29220be8d4748" and "59f9eeed36ed4d8ca566d628790853b391267b93" have entirely different histories.

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