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 Jul 12, 2024
1 parent 0dfe2a6 commit 06c8397
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 06c8397

Please sign in to comment.