We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0e02c commit 3ecb53aCopy full SHA for 3ecb53a
src/FNA3D_Driver_SDL.c
@@ -4045,10 +4045,8 @@ static void SDLGPU_DestroyDevice(FNA3D_Device *device)
4045
4046
SDLGPU_INTERNAL_FlushCommands(renderer);
4047
// avoid command buffer leaks by explicitly canceling newly-acquired command buffers
4048
- /*
4049
SDL_CancelGPUCommandBuffer(renderer->uploadCommandBuffer);
4050
SDL_CancelGPUCommandBuffer(renderer->renderCommandBuffer);
4051
- */
4052
SDL_WaitForGPUIdle(renderer->device);
4053
4054
SDL_UnlockMutex(renderer->copyPassMutex);
0 commit comments