aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk_api.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-18 20:29:14 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commitbd86fd7bbf19324e06834ee8f2e08e7e0df02e14 (patch)
tree825c11b8f6f7c1f51c4e3cfd8954cda1502f57be /engines/glk/glk_api.cpp
parent0f0b8ae3b72d066259332a728eab1edc760de5df (diff)
downloadscummvm-rg350-bd86fd7bbf19324e06834ee8f2e08e7e0df02e14.tar.gz
scummvm-rg350-bd86fd7bbf19324e06834ee8f2e08e7e0df02e14.tar.bz2
scummvm-rg350-bd86fd7bbf19324e06834ee8f2e08e7e0df02e14.zip
GLK: Implementing picture loading
Diffstat (limited to 'engines/glk/glk_api.cpp')
-rw-r--r--engines/glk/glk_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp
index e04040f67f..ec98ab6374 100644
--- a/engines/glk/glk_api.cpp
+++ b/engines/glk/glk_api.cpp
@@ -924,7 +924,7 @@ glui32 GlkAPI::glk_image_get_info(glui32 image, glui32 *width, glui32 *height) {
if (!g_conf->_graphics)
return false;
- Picture *pic = Picture::load(image);
+ Picture *pic = g_vm->_pictures->load(image);
if (!pic)
return false;