diff --git a/Assets/Scripts/Assembly-CSharp/PhysicsTools/Rope.cs b/Assets/Scripts/Assembly-CSharp/PhysicsTools/Rope.cs index 648edf99..4e916f84 100644 --- a/Assets/Scripts/Assembly-CSharp/PhysicsTools/Rope.cs +++ b/Assets/Scripts/Assembly-CSharp/PhysicsTools/Rope.cs @@ -1,4 +1,4 @@ -using System; + using System; using System.Collections.Generic; using UltimateWater; using UnityEngine; diff --git a/Assets/Scripts/Assembly-CSharp/UltimateWater/Spray.cs b/Assets/Scripts/Assembly-CSharp/UltimateWater/Spray.cs index bb69355c..14a76633 100644 --- a/Assets/Scripts/Assembly-CSharp/UltimateWater/Spray.cs +++ b/Assets/Scripts/Assembly-CSharp/UltimateWater/Spray.cs @@ -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; diff --git a/Assets/Scripts/Assembly-CSharp/UltimateWater/WaveParticlesSystemGPU.cs b/Assets/Scripts/Assembly-CSharp/UltimateWater/WaveParticlesSystemGPU.cs index 9b589fec..20c36103 100644 --- a/Assets/Scripts/Assembly-CSharp/UltimateWater/WaveParticlesSystemGPU.cs +++ b/Assets/Scripts/Assembly-CSharp/UltimateWater/WaveParticlesSystemGPU.cs @@ -259,12 +259,12 @@ namespace UltimateWater } if (_ParticlesRenderInfo == null) { - _ParticlesRenderInfo = new ComputeBuffer(1, 16, ComputeBufferType.DrawIndirect); + _ParticlesRenderInfo = new ComputeBuffer(1, 16, ComputeBufferType.IndirectArguments); _ParticlesRenderInfo.SetData(new int[4] { 0, 1, 0, 0 }); } if (_ParticlesUpdateInfo == null) { - _ParticlesUpdateInfo = new ComputeBuffer(1, 12, ComputeBufferType.DrawIndirect); + _ParticlesUpdateInfo = new ComputeBuffer(1, 12, ComputeBufferType.IndirectArguments); _ParticlesUpdateInfo.SetData(new int[3] { 0, 1, 1 }); } }