mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Remove port state, fix background not darkening in room editor
This commit is contained in:
@@ -270,7 +270,6 @@ void SpillGrease (short who, short index)
|
||||
|
||||
void RedrawAllGrease (void)
|
||||
{
|
||||
DrawSurface *wasCPort;
|
||||
Rect src;
|
||||
short i;
|
||||
|
||||
@@ -291,14 +290,10 @@ void RedrawAllGrease (void)
|
||||
|
||||
QOffsetRect(&src, playOriginH, playOriginV);
|
||||
|
||||
wasCPort = GetGraphicsPort();
|
||||
|
||||
backSrcMap->FillRect(src, blackColorBack);
|
||||
|
||||
workSrcMap->FillRect(src, blackColorWork);
|
||||
AddRectToWorkRects(&src);
|
||||
|
||||
SetGraphicsPort(wasCPort);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user