From 9b7faedb0de9f9c3bc18bff5bfc0a629142806b5 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sun, 6 Jul 2008 21:38:26 +0000 Subject: Bug fixes for "judgement day" (yay). svn-id: r32932 --- graphics/VectorRenderer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/VectorRenderer.h') diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index d6b315d2b3..08c8a8435d 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -535,8 +535,13 @@ public: * @see VectorRenderer::copyFrame() */ virtual void copyFrame(OSystem *sys, const Common::Rect &r) { +#ifdef OVERLAY_MULTIPLE_DEPTHS + sys->copyRectToOverlay((const PixelType*)_activeSurface->getBasePtr(r.left, r.top), + _activeSurface->w, r.left, r.top, r.width(), r.height()); +#else sys->copyRectToOverlay((const OverlayColor*)_activeSurface->getBasePtr(r.left, r.top), _activeSurface->w, r.left, r.top, r.width(), r.height()); +#endif } virtual void copyWholeFrame(OSystem *sys) { -- cgit v1.2.3