浏览代码

remove dead code

/2018.1
Evgenii Golubev 7 年前
当前提交
875ec1ea
共有 1 个文件被更改,包括 0 次插入11 次删除
  1. 11
      ScriptableRenderPipeline/Core/CoreRP/TextureCache.cs

11
ScriptableRenderPipeline/Core/CoreRP/TextureCache.cs


get
{
var format = TextureFormat.RGBAHalf;
// // On editor the texture is uncompressed when operating against mobile build targets
//#if UNITY_2017_2_OR_NEWER
//#else
// if (SystemInfo.SupportsTextureFormat(probeFormat) && !TextureCache.isMobileBuildTarget)
// format = probeFormat;
//#endif
return format;
}

{
get
{
//#if UNITY_2017_2_OR_NEWER
//#else
// return (SystemInfo.supportsCubemapArrayTextures && !TextureCache.isMobileBuildTarget);
//#endif
}
}

正在加载...
取消
保存