From 2a01de1221e49e78ef5c7a966c9486ccbb0bf9c8 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 5 Feb 2017 10:55:29 +0100 Subject: [PATCH] Remove dead code --- blupi.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/blupi.cpp b/blupi.cpp index 814d367..f401342 100644 --- a/blupi.cpp +++ b/blupi.cpp @@ -44,7 +44,6 @@ bool g_bFullScreen = false; // false si mode de test int g_speedRate = 1; int g_timerInterval = 50; // inverval = 50ms int g_mouseType = MOUSETYPEGRA; -MMRESULT g_updateTimer; // timer général bool g_bActive = true; // is application active ? bool g_bTermInit = false; // initialisation en cours @@ -131,16 +130,7 @@ void UpdateFrame(void) phase = g_pEvent->GetPhase(); - if ( phase == g_lastPhase && - phase == WM_PHASE_PLAY ) - { -//? rcRect.left = POSDRAWX; -//? rcRect.top = POSDRAWY; -//? rcRect.right = POSDRAWX+DIMDRAWX; -//? rcRect.bottom = POSDRAWY+DIMDRAWY; -//? g_pPixmap->DrawImage(-1, CHBACK, rcRect, 1); // dessine le fond - } - else + if (!(phase == g_lastPhase && phase == WM_PHASE_PLAY)) { rcRect.left = 0; rcRect.top = 0;