浏览代码

Switch compilation fixes.

/main
Kay Chang 7 年前
当前提交
6f8fb9c4
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2
      com.unity.render-pipelines.lightweight/LWRP/LightweightForwardRenderer.cs
  2. 2
      com.unity.render-pipelines.lightweight/LWRP/LightweightPipeline.cs

2
com.unity.render-pipelines.lightweight/LWRP/LightweightForwardRenderer.cs


{
Camera camera = cameraData.camera;
RenderTextureDescriptor desc;
#if !UNITY_SWITCH
#endif
desc = new RenderTextureDescriptor(camera.pixelWidth, camera.pixelHeight);
float renderScale = cameraData.renderScale;

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


if (camera.cameraType == CameraType.Game)
{
#if !UNITY_SWITCH
#endif
{
cameraData.renderScale = pipelineAsset.renderScale;
}

正在加载...
取消
保存