Skip to content

Commit b858264

Browse files
authored
Uncomment command buffer cancellation code
1 parent cc443d6 commit b858264

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/FNA3D_Driver_SDL.c

-2
Original file line numberDiff line numberDiff line change
@@ -4084,10 +4084,8 @@ static void SDLGPU_DestroyDevice(FNA3D_Device *device)
40844084

40854085
SDLGPU_INTERNAL_FlushCommands(renderer);
40864086
// avoid command buffer leaks by explicitly canceling newly-acquired command buffers
4087-
/*
40884087
SDL_CancelGPUCommandBuffer(renderer->uploadCommandBuffer);
40894088
SDL_CancelGPUCommandBuffer(renderer->renderCommandBuffer);
4090-
*/
40914089
SDL_WaitForGPUIdle(renderer->device);
40924090

40934091
SDL_UnlockMutex(renderer->copyPassMutex);

0 commit comments

Comments
 (0)