fix leak of frame_fence in sdlgpu renderer
buildbot/windows Build done.
buildbot/linux Build done.

This commit is contained in:
Sven Balzer
2026-08-03 17:32:57 +02:00
parent 6aa530daea
commit 7fe5419b02
+1
View File
@@ -287,6 +287,7 @@ void renderer_frame_end() {
SDL_GPUFence *frame_fence = SDL_SubmitGPUCommandBufferAndAcquireFence(render_command_buffer);
SDL_WaitForGPUFences(device, true, &frame_fence, 1);
SDL_ReleaseGPUFence(device, frame_fence);
copy_command_buffer = SDL_AcquireGPUCommandBuffer(device);
render_command_buffer = SDL_AcquireGPUCommandBuffer(device);