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.
This commit is contained in:
parent
b478364914
commit
cf24c021a3
2 changed files with 15 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue