- Fixed: DCanvas::Blit unlocked the destination twice instead of unlocking

both dest and src. Also changed this function so that it is owned by the
  destination canvas of the operation which is necessary if it needs to 
  be overridden by subclasses.


SVN r607 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-20 14:05:08 +00:00
commit 457976d88d
4 changed files with 21 additions and 17 deletions

View file

@ -1077,8 +1077,8 @@ static void M_DrawSaveLoadCommon ()
M_DrawFrame (savepicLeft, savepicTop, savepicWidth, savepicHeight);
if (SavePic != NULL)
{
SavePic->Blit (0, 0, SavePic->GetWidth(), SavePic->GetHeight(),
screen, savepicLeft, savepicTop, savepicWidth, savepicHeight);
screen->Blit(savepicLeft, savepicTop, savepicWidth, savepicHeight,
SavePic, 0, 0, SavePic->GetWidth(), SavePic->GetHeight());
}
else
{