Don't check AccumulatedFrames

AMF doesn't do it and MSDN is unclear about it.
This commit is contained in:
ns6089 2023-08-26 12:38:47 +03:00 committed by Cameron Gutman
parent d81e2cecaa
commit d2a634ee09

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) {