Skip to content

Commit

Permalink
Fix Metal implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcosmonaut committed Dec 6, 2024
1 parent 9ba4f75 commit 645721a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/metal/SDL_gpu_metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -3823,7 +3823,7 @@ static bool METAL_SetAllowedFramesInFlight(
Uint32 allowedFramesInFlight)
{
@autoreleasepool {
MetalRenderer *renderer = metalCommandBuffer->renderer;
MetalRenderer *renderer = (MetalRenderer *)driverData;

if (!METAL_Wait(driverData)) {
return false;
Expand Down

0 comments on commit 645721a

Please sign in to comment.