fix render target destroy segfault

mutex-order
cosmonaut 2022-12-22 17:23:11 -08:00
parent 59f9eeed36
commit 528abfad76
1 changed files with 1 additions and 1 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[i] == view) if (hash->colorAttachmentViews[j] == view)
{ {
VULKAN_INTERNAL_QueueDestroyFramebuffer( VULKAN_INTERNAL_QueueDestroyFramebuffer(
renderer, renderer,