We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d78aa65 commit e573ef6Copy full SHA for e573ef6
1 file changed
ShaderGlass/CaptureSession.cpp
@@ -53,6 +53,8 @@ CaptureSession::CaptureSession(winrt::IDirect3DDevice const& device,
53
// max 250Hz?
54
const auto minInterval = maxCaptureRate ? std::chrono::milliseconds(4) : std::chrono::milliseconds(15);
55
m_session.MinUpdateInterval(winrt::Windows::Foundation::TimeSpan(minInterval));
56
+ if(maxCaptureRate)
57
+ m_session.MinUpdateInterval(winrt::Windows::Foundation::TimeSpan(0));
58
}
59
catch(...)
60
{ }
0 commit comments