Skip to content

Commit

Permalink
Revert comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Jan 8, 2025
1 parent 839b90f commit f1b706d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/FNA3D_Driver_SDL.c
Original file line number Diff line number Diff line change
Expand Up @@ -4043,10 +4043,8 @@ static void SDLGPU_DestroyDevice(FNA3D_Device *device)

SDLGPU_INTERNAL_FlushCommands(renderer);
// avoid command buffer leaks by explicitly canceling newly-acquired command buffers
/*
SDL_CancelGPUCommandBuffer(renderer->uploadCommandBuffer);
SDL_CancelGPUCommandBuffer(renderer->renderCommandBuffer);
*/
SDL_WaitForGPUIdle(renderer->device);

SDL_UnlockMutex(renderer->copyPassMutex);
Expand Down

0 comments on commit f1b706d

Please sign in to comment.