Don't check AccumulatedFrames

AMF doesn't do it and MSDN is unclear about it.
This commit is contained in:
ns6089 authored and Cameron Gutman committed 2023-08-27 13:13:43 -05:00
1 parent d81e2cecaa
commit d2a634ee09
1 file changed
+1 -1
+1 -1
View File
@@ -957,7 +957,7 @@ namespace platf::dxgi {
}
const bool mouse_update_flag = frame_info.LastMouseUpdateTime.QuadPart != 0 || frame_info.PointerShapeBufferSize > 0;
const bool frame_update_flag = frame_info.AccumulatedFrames != 0 || frame_info.LastPresentTime.QuadPart != 0;
const bool frame_update_flag = frame_info.LastPresentTime.QuadPart != 0;
const bool update_flag = mouse_update_flag || frame_update_flag;
if (!update_flag) {