From d2fa795bfa758392807333cd446ef6daf73e359f Mon Sep 17 00:00:00 2001 From: sukibaby <163092272+sukibaby@users.noreply.github.com> Date: Thu, 12 Jun 2025 01:24:45 -0700 Subject: [PATCH] GraphicsWindow: remove extraneous checkpoints --- src/archutils/Win32/GraphicsWindow.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/archutils/Win32/GraphicsWindow.cpp b/src/archutils/Win32/GraphicsWindow.cpp index 4d2cdbcde7..6b71e13901 100644 --- a/src/archutils/Win32/GraphicsWindow.cpp +++ b/src/archutils/Win32/GraphicsWindow.cpp @@ -448,8 +448,6 @@ void GraphicsWindow::DestroyGraphicsWindow() g_HDC = nullptr; } - CHECKPOINT; - if( g_hWndMain != nullptr ) { DestroyWindow( g_hWndMain ); @@ -457,16 +455,12 @@ void GraphicsWindow::DestroyGraphicsWindow() CrashHandler::SetForegroundWindow( g_hWndMain ); } - CHECKPOINT; - if( g_hIcon != nullptr ) { DestroyIcon( g_hIcon ); g_hIcon = nullptr; } - CHECKPOINT; - MSG msg; while( PeekMessage( &msg, nullptr, 0, 0, PM_NOREMOVE ) ) { @@ -475,8 +469,6 @@ void GraphicsWindow::DestroyGraphicsWindow() CHECKPOINT; DispatchMessage( &msg ); } - - CHECKPOINT; } void GraphicsWindow::Initialize( bool bD3D )