aboutsummaryrefslogtreecommitdiff
path: root/saga/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/gfx.cpp')
-rw-r--r--saga/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp
index e9c9bb1eec..74f02728dd 100644
--- a/saga/gfx.cpp
+++ b/saga/gfx.cpp
@@ -31,7 +31,7 @@
namespace Saga {
-Gfx::Gfx(OSystem *system, int width, int height, GameDetector &detector) : _system(system) {
+Gfx::Gfx(SagaEngine *vm, OSystem *system, int width, int height, GameDetector &detector) : _vm(vm), _system(system) {
_system->beginGFXTransaction();
_vm->initCommonGFX(detector);
_system->initSize(width, height);