mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Refactor out clip rect
This commit is contained in:
@@ -204,8 +204,6 @@ void OpenMainWindow (void)
|
||||
ShowWindow(mainWindow);
|
||||
|
||||
DrawSurface *mainWindowSurface = mainWindow->GetDrawSurface();
|
||||
|
||||
mainWindowSurface->SetClipRect(mainWindowRect);
|
||||
|
||||
whichRoom = GetFirstRoomNumber();
|
||||
CopyRoomToThisRoom(whichRoom);
|
||||
@@ -252,7 +250,6 @@ void OpenMainWindow (void)
|
||||
|
||||
DrawSurface *mainWindowSurface = mainWindow->GetDrawSurface();
|
||||
|
||||
mainWindowSurface->SetClipRect(mainWindowRect);
|
||||
// CopyRgn(mainWindow->clipRgn, mainWindow->visRgn);
|
||||
|
||||
mainWindowSurface->FillRect(mainWindowRect, blackColor);
|
||||
|
Reference in New Issue
Block a user