[DesktopVRSwitch] Fixes for 2023r171

This commit is contained in:
NotAKidoS 2023-08-02 16:58:11 -05:00
parent ba6a5f4778
commit be82bf228c
12 changed files with 61 additions and 129 deletions

View file

@ -9,7 +9,7 @@ using UnityEngine.Rendering.PostProcessing;
namespace NAK.DesktopVRSwitch.Patches;
class ReferenceCameraPatch
internal class ReferenceCameraPatch
{
public static void OnWorldLoad()
{
@ -18,7 +18,7 @@ class ReferenceCameraPatch
CopyToInactiveCam(activeCamera, inactiveCamera);
}
static void CopyToInactiveCam(Camera activeCam, Camera inactiveCam)
private static void CopyToInactiveCam(Camera activeCam, Camera inactiveCam)
{
if (inactiveCam == null || activeCam == null)
return;