Update rlgl_compute_shader.c
This commit is contained in:
parent
5953bd466a
commit
577ffa7177
|
|
@ -104,7 +104,7 @@ int main(void)
|
||||||
else if (transfertBuffer.count > 0) // Process transfert buffer
|
else if (transfertBuffer.count > 0) // Process transfert buffer
|
||||||
{
|
{
|
||||||
// Send SSBO buffer to GPU
|
// 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
|
// Process SSBO commands on GPU
|
||||||
rlEnableShader(golTransfertProgram);
|
rlEnableShader(golTransfertProgram);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user