From 26a5ea91baf0a5b17a0f9e530098bb49d8eaac8f Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 24 Feb 2022 21:20:55 -0800 Subject: [PATCH] change colorAttachmentDescriptions to a const pointer --- include/Refresh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Refresh.h b/include/Refresh.h index f046988..66605f3 100644 --- a/include/Refresh.h +++ b/include/Refresh.h @@ -561,7 +561,7 @@ typedef struct Refresh_ColorAttachmentDescription typedef struct Refresh_GraphicsPipelineAttachmentInfo { - Refresh_ColorAttachmentDescription colorAttachmentDescriptions[4]; + const Refresh_ColorAttachmentDescription *colorAttachmentDescriptions; uint32_t colorAttachmentCount; uint8_t hasDepthStencilAttachment; Refresh_TextureFormat depthStencilFormat;