Refactoring

This commit is contained in:
elasota
2019-12-29 22:12:11 -05:00
parent dadb21a275
commit 9cf539eb52
29 changed files with 203 additions and 177 deletions

View File

@@ -526,7 +526,7 @@ void PlayGame (void)
QOffsetRect(&bounds, -bounds.left, -bounds.top);
QOffsetRect(&bounds, hOffset, 0);
DrawPicture(thePicture, &bounds);
ReleaseResource((Handle)thePicture);
DisposeHandle((Handle)thePicture);
}
#else
// ShowMenuBarOld(); // TEMP
@@ -576,7 +576,7 @@ void PlayGame (void)
QOffsetRect(&bounds, -bounds.left, -bounds.top);
QOffsetRect(&bounds, hOffset, 0);
DrawPicture(thePicture, &bounds);
ReleaseResource((Handle)thePicture);
DisposeHandle((Handle)thePicture);
SetGraphicsPort(wasCPort);
}