From 6c77fef28a230e507571d2ce1f2b5d4adcccc371 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Sat, 6 Jul 2024 12:19:14 -0500 Subject: [PATCH] depthStencilAttachmentInfo is allowed to be null --- 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 e54cd92d27e21..4f55664aa9777 100644 --- a/src/gpu/SDL_gpu.c +++ b/src/gpu/SDL_gpu.c @@ -798,10 +798,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