aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/scriptdebug.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-17 21:08:33 +0000
committerFilippos Karapetis2009-03-17 21:08:33 +0000
commit063ce3938d6cbd98843d062a6d5a0f6738d888ef (patch)
tree370405725f9d43a4bdf063874f6c3bd87cd0ca07 /engines/sci/engine/scriptdebug.cpp
parent71f8b83c4731e04f6a4afee8b892a6854fb7d24f (diff)
downloadscummvm-rg350-063ce3938d6cbd98843d062a6d5a0f6738d888ef.tar.gz
scummvm-rg350-063ce3938d6cbd98843d062a6d5a0f6738d888ef.tar.bz2
scummvm-rg350-063ce3938d6cbd98843d062a6d5a0f6738d888ef.zip
Started objectifying the graphics resource manager (refer to patch #2689887)
svn-id: r39492
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r--engines/sci/engine/scriptdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 10b8dbfa79..c5c00ceff1 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -2011,7 +2011,7 @@ static int c_gfx_flush_resources(EngineState *s) {
gfxop_set_pointer_cursor(s->gfx_state, GFXOP_NO_POINTER);
sciprintf("Flushing resources...\n");
s->visual->widfree(GFXW(s->visual));
- gfxr_free_all_resources(s->gfx_state->driver, s->gfx_state->resstate);
+ gfxr_free_all_resources(s->gfx_state->resstate);
s->visual = NULL;
return 0;