comparison OSWindow.cpp @ 1806:8e17ceba3a40

.
author Nomad
date Mon, 07 Oct 2013 13:08:53 +0200
parents 830f196a69ea
children bd899dfd976c
comparison
equal deleted inserted replaced
1805:830f196a69ea 1806:8e17ceba3a40
344 if (pRenderer) 344 if (pRenderer)
345 { 345 {
346 if ( !GetUpdateRect(api_handle, 0, 0) || !dword_4E98BC_bApplicationActive && !pRenderer->bWindowMode ) 346 if ( !GetUpdateRect(api_handle, 0, 0) || !dword_4E98BC_bApplicationActive && !pRenderer->bWindowMode )
347 return *result = 0, true; 347 return *result = 0, true;
348 } 348 }
349 if (!api_handle) 349 if (!api_handle || !pRenderer)
350 return false; 350 return false;
351 PAINTSTRUCT Paint; 351 PAINTSTRUCT Paint;
352 BeginPaint(api_handle, &Paint); 352 BeginPaint(api_handle, &Paint);
353 if ( pArcomageGame->bGameInProgress ) 353 if ( pArcomageGame->bGameInProgress )
354 { 354 {