- 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:
parent
a7bc9262d9
commit
457976d88d
4 changed files with 21 additions and 17 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue