[Scummvm-cvs-logs] SF.net SVN: scummvm:[53250] scummvm/trunk/engines/sword25/gfx
sev at users.sourceforge.net
sev at users.sourceforge.net
Wed Oct 13 00:48:22 CEST 2010
Revision: 53250
http://scummvm.svn.sourceforge.net/scummvm/?rev=53250&view=rev
Author: sev
Date: 2010-10-12 22:48:22 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
SWORD25: Actually blit images to screen.
Modified Paths:
--------------
scummvm/trunk/engines/sword25/gfx/image/imageloader.h
scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
Modified: scummvm/trunk/engines/sword25/gfx/image/imageloader.h
===================================================================
--- scummvm/trunk/engines/sword25/gfx/image/imageloader.h 2010-10-12 22:47:57 UTC (rev 53249)
+++ scummvm/trunk/engines/sword25/gfx/image/imageloader.h 2010-10-12 22:48:22 UTC (rev 53250)
@@ -141,6 +141,8 @@
_ImageLoaderList.push_front(this);
}
+ virtual ~BS_ImageLoader() {}
+
//@{
/** @name Abstrakte Methoden */
Modified: scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 22:47:57 UTC (rev 53249)
+++ scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 22:48:22 UTC (rev 53250)
@@ -41,6 +41,8 @@
#include "sword25/gfx/opengl/openglgfx.h"
#include "sword25/gfx/opengl/glimage.h"
+#include "common/system.h"
+
namespace Sword25 {
#define BS_LOG_PREFIX "GLIMAGE"
@@ -221,6 +223,8 @@
if (alphawarn)
warning("STUB: alpha image");
+ g_system->copyRectToScreen((byte *)_backSurface->getBasePtr(PosX, PosY), _backSurface->pitch, PosX, PosY, w, h);
+
return true;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list