浏览代码

Merge pull request #1582 from Unity-Technologies/switch-support

Switch compilation fixes.
/main
GitHub 6 年前
当前提交
1cf3ed86
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs

3
com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs


if (cameraData.isStereoEnabled)
{
cameraData.renderScale = XRSettings.eyeTextureResolutionScale;
} else
}
else
#endif
{
cameraData.renderScale = pipelineAsset.renderScale;

正在加载...
取消
保存