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 1, 2024
1 parent dd14c99 commit 5cc28a2
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 5cc28a2

Please sign in to comment.