Skip to content

Commit f715782

Browse files
committed
Account for the current app capture state on Start
1 parent e790029 commit f715782

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/MRTK/Services/DiagnosticsSystem/MixedRealityToolkitVisualProfiler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ private void Start()
291291
appCapture = AppCapture.GetForCurrentView();
292292
if (appCapture != null)
293293
{
294+
appCaptureIsCapturingVideo = appCapture.IsCapturingVideo;
294295
appCapture.CapturingChanged += AppCapture_CapturingChanged;
295296
}
296297
#endif // WINDOWS_UWP

0 commit comments

Comments
 (0)