This commit is contained in:
2026-02-21 18:55:27 +08:00
parent 006a5b7e21
commit aa83bad928
3 changed files with 4 additions and 4 deletions

View File

@@ -547,7 +547,7 @@ namespace UltimateWater
}
if (_ParticlesInfo == null)
{
_ParticlesInfo = new ComputeBuffer(1, 16, ComputeBufferType.DrawIndirect);
_ParticlesInfo = new ComputeBuffer(1, 16, ComputeBufferType.IndirectArguments);
_ParticlesInfo.SetData(new int[4] { 0, 1, 0, 0 });
}
_ResourcesReady = true;