aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/graphics/effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/graphics/effect.h')
-rw-r--r--engines/zvision/graphics/effect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/graphics/effect.h b/engines/zvision/graphics/effect.h
index c6653c6037..234cd8209d 100644
--- a/engines/zvision/graphics/effect.h
+++ b/engines/zvision/graphics/effect.h
@@ -37,7 +37,7 @@ class Effect {
public:
Effect(ZVision *engine, uint32 key, Common::Rect region, bool ported) : _engine(engine), _key(key), _region(region), _ported(ported) {
- _surface.create(_region.width(), _region.height(), _engine->_pixelFormat);
+ _surface.create(_region.width(), _region.height(), _engine->_resourcePixelFormat);
}
virtual ~Effect() {}