浏览代码

Merge pull request #390 from UnityTech/fix_aa_shapehintbug

fix raster cache error on low-end android devices
/main
GitHub 5 年前
当前提交
add587ae
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 7
      Runtime/editor/window_config.cs

7
Runtime/editor/window_config.cs


public class WindowConfig {
public readonly bool disableRasterCache;
public static float MaxRasterImageSize = 4096;
#if UNITY_ANDROID
//make API compatible to low-end Android devices
public static float MaxRasterImageSize = 2048;
#else
public static float MaxRasterImageSize = 4096;
#endif
static bool? _disableComputeBuffer = null;

正在加载...
取消
保存