aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/picture.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-24 12:21:58 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit62af5ea8919a5148154413eaec80a9e686d64114 (patch)
treebd48be729682c64f30d54b1cae56bd80be96a257 /engines/glk/picture.cpp
parent3700919881a9636ae02478691d8c7c73a6d5084b (diff)
downloadscummvm-rg350-62af5ea8919a5148154413eaec80a9e686d64114.tar.gz
scummvm-rg350-62af5ea8919a5148154413eaec80a9e686d64114.tar.bz2
scummvm-rg350-62af5ea8919a5148154413eaec80a9e686d64114.zip
GLK: FROTZ: More work on displaying Beyond Zork title screen
Diffstat (limited to 'engines/glk/picture.cpp')
-rw-r--r--engines/glk/picture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/glk/picture.cpp b/engines/glk/picture.cpp
index 6d8fce9c03..c8dcbc5462 100644
--- a/engines/glk/picture.cpp
+++ b/engines/glk/picture.cpp
@@ -130,11 +130,10 @@ Picture *Pictures::load(uint32 id) {
return nullptr;
}
- pic = new Picture();
+ pic = new Picture(img->w, img->h, img->format);
pic->_refCount = 1;
pic->_id = id;
pic->_scaled = false;
- pic->create(img->w, img->h, g_system->getScreenFormat());
pic->blitFrom(*img);
if (palette)