From 29ea4a684c99a336a1e489aed84c819f6a54317c Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Sat, 6 Jul 2024 12:43:17 -0500 Subject: [PATCH] depthStencilAttachmentInfo is allowed to be null (#75) --- src/gpu/SDL_gpu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gpu/SDL_gpu.c b/src/gpu/SDL_gpu.c index 9cc922d2cfc156..6366e23d4b2a7c 100644 --- a/src/gpu/SDL_gpu.c +++ b/src/gpu/SDL_gpu.c @@ -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