Remove unreliable reset trigger
@@ -143,20 +143,6 @@ LRESULT APIENTRY Overlay::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
return 0;
}
- if (uMsg == WM_WINDOWPOSCHANGED)
- {
- auto wp = reinterpret_cast<WINDOWPOS*>(lParam);
- spdlog::info("\tWM_WINDOWPOSCHANGED message received! Position: ({0}, {1}) Size ({2}, {3}) Flags ({4:x})", wp->x, wp->y, wp->cx, wp->cy, wp->flags);
- if ((wp->flags & SWP_FRAMECHANGED) &&
- (wp->flags & SWP_NOSIZE) &&
- (wp->flags & SWP_NOZORDER))
- {
- auto d3d12Type = (kiero::isDownLevelDevice()) ? ("D3D12on7") : ("D3D12");
- spdlog::info("\tCurrent WM_WINDOWPOSCHANGED flags match {0} state reset event - calling Overlay::ResetD3D12State()", d3d12Type);
- s_pOverlay->ResetD3D12State();
- }
- }
-
switch (uMsg)
{
case WM_KEYDOWN:
