aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-06 14:44:09 +0000
committerFilippos Karapetis2008-12-06 14:44:09 +0000
commit5f2cd3c4a7e771a30e132fa90936b1da72fa21ab (patch)
tree61b32fbaa3b64617a67f14cd1eda179aac12e9cd
parentd148d481f9692a7a475fda8240f4e27e30aa17fd (diff)
downloadscummvm-rg350-5f2cd3c4a7e771a30e132fa90936b1da72fa21ab.tar.gz
scummvm-rg350-5f2cd3c4a7e771a30e132fa90936b1da72fa21ab.tar.bz2
scummvm-rg350-5f2cd3c4a7e771a30e132fa90936b1da72fa21ab.zip
Cleanup
svn-id: r35263
-rw-r--r--engines/saga/interface.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index d336cb3135..e6c6921784 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1013,7 +1013,6 @@ void Interface::drawOption() {
}
void Interface::drawQuit() {
- Surface *backBuffer = _vm->_gfx->getBackBuffer();
Rect rect;
int i;
PanelButton *panelButton;
@@ -1022,7 +1021,7 @@ void Interface::drawQuit() {
if (_vm->getGameType() == GType_ITE)
drawButtonBox(rect, kButton, false);
else
- backBuffer->blit(rect, _quitPanel.image);
+ _vm->_gfx->getBackBuffer()->blit(rect, _quitPanel.image);
for (i = 0; i < _quitPanel.buttonsCount; i++) {
panelButton = &_quitPanel.buttons[i];
@@ -1078,7 +1077,6 @@ void Interface::setQuit(PanelButton *panelButton) {
}
void Interface::drawLoad() {
- Surface *backBuffer = _vm->_gfx->getBackBuffer();
Rect rect;
int i;
PanelButton *panelButton;
@@ -1087,7 +1085,7 @@ void Interface::drawLoad() {
if (_vm->getGameType() == GType_ITE)
drawButtonBox(rect, kButton, false);
else
- backBuffer->blit(rect, _loadPanel.image);
+ _vm->_gfx->getBackBuffer()->blit(rect, _loadPanel.image);
for (i = 0; i < _loadPanel.buttonsCount; i++) {
panelButton = &_loadPanel.buttons[i];
@@ -1300,7 +1298,6 @@ void Interface::drawTextInput(InterfacePanel *panel, PanelButton *panelButton) {
}
void Interface::drawSave() {
- Surface *backBuffer = _vm->_gfx->getBackBuffer();
Rect rect;
int i;
PanelButton *panelButton;
@@ -1309,7 +1306,7 @@ void Interface::drawSave() {
if (_vm->getGameType() == GType_ITE)
drawButtonBox(rect, kButton, false);
else
- backBuffer->blit(rect, _savePanel.image);
+ _vm->_gfx->getBackBuffer()->blit(rect, _savePanel.image);
for (i = 0; i < _savePanel.buttonsCount; i++) {
panelButton = &_savePanel.buttons[i];
@@ -1325,7 +1322,6 @@ void Interface::drawSave() {
}
void Interface::drawProtect() {
- Surface *backBuffer = _vm->_gfx->getBackBuffer();
Rect rect;
int i;
PanelButton *panelButton;