summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2022-09-09 00:26:47 +0200
committerRay <[email protected]>2022-09-09 00:26:47 +0200
commitcf24c021a36a483c0ad04b43edd9ba248eaa9cc0 (patch)
tree07010fde1ad5346172faaea3f34f40439db563ac /examples
parentb478364914c64df9b963955da0d864b2616c0fe9 (diff)
downloadraylib-cf24c021a36a483c0ad04b43edd9ba248eaa9cc0.tar.gz
raylib-cf24c021a36a483c0ad04b43edd9ba248eaa9cc0.zip
WARNING: BREAKING: Reviewed SSBO usage to avoid `long long`
raylib library tries to avoid `long long` usage. Several SSBO functions have been reviewed (including some renames for consistency) to minimize `long long` type usage.
Diffstat (limited to 'examples')
-rw-r--r--examples/others/rlgl_compute_shader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/rlgl_compute_shader.c b/examples/others/rlgl_compute_shader.c
index 5e1debd7..b74ed932 100644
--- a/examples/others/rlgl_compute_shader.c
+++ b/examples/others/rlgl_compute_shader.c
@@ -104,9 +104,9 @@ int main(void)
else if (transfertBuffer.count > 0) // Process transfert buffer
{
// Send SSBO buffer to GPU
- rlUpdateShaderBufferElements(ssboTransfert, &transfertBuffer, sizeof(GolUpdateSSBO), 0);
+ rlUpdateShaderBuffer(ssboTransfert, &transfertBuffer, sizeof(GolUpdateSSBO), 0);
- // Process ssbo commands on GPU
+ // Process SSBO commands on GPU
rlEnableShader(golTransfertProgram);
rlBindShaderBuffer(ssboA, 1);
rlBindShaderBuffer(ssboTransfert, 3);