浏览代码

Stop compute buffer usage on android

/main
Andre McGrail 6 年前
当前提交
7ce5031a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Packages/com.verasl.water-system/Scripts/Water.cs

3
Packages/com.verasl.water-system/Scripts/Water.cs


{
if (!computeOverride)
useComputeBuffer = SystemInfo.supportsComputeShaders &&
Application.platform != RuntimePlatform.WebGLPlayer;
Application.platform != RuntimePlatform.WebGLPlayer &&
Application.platform != RuntimePlatform.Android;
else
useComputeBuffer = false;
Init();

正在加载...
取消
保存