aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-11-06 13:36:07 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit7b2e103ea3fad04d3719a3fd78c9a645582bb50d (patch)
treeff2907dd36f858c84b771835569af49e58ac8df0
parent972a1474af7de718f71a88af8545b905de54cefd (diff)
downloadscummvm-rg350-7b2e103ea3fad04d3719a3fd78c9a645582bb50d.tar.gz
scummvm-rg350-7b2e103ea3fad04d3719a3fd78c9a645582bb50d.tar.bz2
scummvm-rg350-7b2e103ea3fad04d3719a3fd78c9a645582bb50d.zip
GRIFFON: FIx config window drawing
-rw-r--r--engines/griffon/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp
index 09aae2cb13..cc017874b8 100644
--- a/engines/griffon/dialogs.cpp
+++ b/engines/griffon/dialogs.cpp
@@ -282,7 +282,7 @@ void GriffonEngine::configMenu() {
_cloudImg->blit(*_videoBuffer, 0, 0, Graphics::FLIP_NONE, &rcDest);
_cloudImg->setAlpha(64, true);
- _videoBuffer->copyRectToSurface(configwindow->getPixels(), configwindow->pitch, 0, 0, configwindow->w, configwindow->h);
+ configwindow->blit(*_videoBuffer);
int sy = SY;