Skip to content

Commit 5991805

Browse files
committed
Updated TestFixture to use new render pipeline property.
1 parent a13b56b commit 5991805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Editor/Tests/RenderloopTests/RenderloopTestFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void Run(TestDelegate renderCallback)
5252
var sceneCamera = Camera.main;
5353
var camObject = sceneCamera.gameObject;
5454

55-
GraphicsSettings.SetRenderPipeline(m_Instance);
55+
GraphicsSettings.renderPipeline = m_Instance;
5656
s_Callback = renderCallback;
5757
Transform t = camObject.transform;
5858

@@ -63,6 +63,6 @@ public static void Run(TestDelegate renderCallback)
6363
SceneView.lastActiveSceneView.LookAtDirect(t.position + t.forward * camDist, t.rotation, size);
6464

6565
sceneCamera.Render();
66-
GraphicsSettings.SetRenderPipeline(null);
66+
GraphicsSettings.renderPipeline = null;
6767
}
6868
}

0 commit comments

Comments
 (0)