aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/gfx.h')
-rw-r--r--engines/saga/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/gfx.h b/engines/saga/gfx.h
index c677b76324..f3c871e55d 100644
--- a/engines/saga/gfx.h
+++ b/engines/saga/gfx.h
@@ -201,7 +201,7 @@ public:
// Whenever it gets called, the corresponding caller must take care
// to add the corresponding dirty rectangle itself
byte *getBackBufferPixels() {
- return (byte *)_backBuffer.pixels;
+ return (byte *)_backBuffer.getBasePtr(0, 0);
}
uint16 getBackBufferWidth() {