From 577ffa71775f4ab776bc3bd1ef2e67bc61a65d11 Mon Sep 17 00:00:00 2001 From: MrScautHD <65916181+MrScautHD@users.noreply.github.com> Date: Fri, 7 Jun 2024 22:29:08 +0200 Subject: [PATCH] Update rlgl_compute_shader.c --- examples/others/rlgl_compute_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/others/rlgl_compute_shader.c b/examples/others/rlgl_compute_shader.c index e8a654d2a..a63eb5e1a 100644 --- a/examples/others/rlgl_compute_shader.c +++ b/examples/others/rlgl_compute_shader.c @@ -104,7 +104,7 @@ int main(void) else if (transfertBuffer.count > 0) // Process transfert buffer { // Send SSBO buffer to GPU - rlUpdateShaderBuffer(ssboTransfert, &transfertBuffer, sizeof(GolUpdateSSBO), 0); + rlUpdateShaderBuffer(ssboTransfert, &transfertBuffer, sizeof(GolUpdateSSBO), RL_DYNAMIC_COPY, 0); // Process SSBO commands on GPU rlEnableShader(golTransfertProgram);