Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Commit d430c8d

Browse files
committed
Disable some broken code with a TODO (I suspect this is no longer needed but worth checking)
1 parent 8e1bedf commit d430c8d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Assets/Scripts/ThirdParty/OVR/Scripts/OVRLint.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,14 @@ static void CheckStaticCommonIssues ()
288288
}
289289
#endif
290290

291-
if ((!PlayerSettings.MTRendering || !PlayerSettings.mobileMTRendering))
292-
{
293-
AddFix ("Optimize MT Rendering", "For CPU performance, please enable multithreaded rendering.", delegate(UnityEngine.Object obj, bool last, int selected)
294-
{
295-
PlayerSettings.MTRendering = PlayerSettings.mobileMTRendering = true;
296-
}, null, "Fix");
297-
}
291+
// TODO AB
292+
// if ((!PlayerSettings.MTRendering || !PlayerSettings.mobileMTRendering))
293+
// {
294+
// AddFix ("Optimize MT Rendering", "For CPU performance, please enable multithreaded rendering.", delegate(UnityEngine.Object obj, bool last, int selected)
295+
// {
296+
// PlayerSettings.MTRendering = PlayerSettings.mobileMTRendering = true;
297+
// }, null, "Fix");
298+
// }
298299

299300
#if UNITY_5_5_OR_NEWER
300301
BuildTargetGroup target = EditorUserBuildSettings.selectedBuildTargetGroup;

0 commit comments

Comments
 (0)