forked from MoonsideGames/Refresh
Compare commits
2 Commits
59f9eeed36
...
9dcc3fff28
Author | SHA1 | Date |
---|---|---|
Caleb Cornett | 9dcc3fff28 | |
cosmonaut | 528abfad76 |
|
@ -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[i] == view)
|
if (hash->colorAttachmentViews[j] == 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 */
|
||||||
|
|
Loading…
Reference in New Issue