Skip to content

Commit

Permalink
depthStencilAttachmentInfo is allowed to be null (thatcosmonaut#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSpydog authored and flibitijibibo committed Aug 9, 2024
1 parent 88d49f6 commit 881f54e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/gpu/SDL_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,10 +796,6 @@ SDL_GpuRenderPass *SDL_GpuBeginRenderPass(
SDL_InvalidParamError("colorAttachmentInfos");
return NULL;
}
if (depthStencilAttachmentInfo == NULL) {
SDL_InvalidParamError("depthStencilAttachmentInfo");
return NULL;
}

CHECK_COMMAND_BUFFER_RETURN_NULL
CHECK_ANY_PASS_IN_PROGRESS
Expand Down

0 comments on commit 881f54e

Please sign in to comment.