Skip to content

Commit be40f61

Browse files
use settings
1 parent fdf30fc commit be40f61

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

com.unity.toon-graphics-test/Runtime/UTSGraphicsTests.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,14 @@ internal static IEnumerator RunInternal(GraphicsTestCase testCase, bool isXR = f
8585

8686
Camera mainCamera = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Camera>();
8787

88-
#if UTS_TEST_USE_HDRP || UTS_TEST_USE_URP
89-
string settingsFilename = "UTSGraphicsSettings_SRP";
88+
#if UTS_TEST_USE_URP
89+
string settingsFilename = "UTSGraphicsSettings_URP";
90+
#elif UTS_TEST_USE_HDRP
91+
string settingsFilename = "UTSGraphicsSettings_HDRP";
9092
#else
9193
string settingsFilename = "UTSGraphicsSettings_Built-In";
9294
#endif
93-
94-
//Use a different setting (more relaxed) for Built-In with XR
95+
9596
if (isXR) {
9697
settingsFilename += "_XR";
9798
}

0 commit comments

Comments
 (0)