[Scummvm-cvs-logs] SF.net SVN: scummvm:[53273] scummvm/trunk/engines/sword25/gfx/opengl/ glimage.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Wed Oct 13 01:12:04 CEST 2010
Revision: 53273
http://scummvm.svn.sourceforge.net/scummvm/?rev=53273&view=rev
Author: sev
Date: 2010-10-12 23:12:03 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
SWORD25: Fix image blitting width.
Modified Paths:
--------------
scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
Modified: scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 23:11:41 UTC (rev 53272)
+++ scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 23:12:03 UTC (rev 53273)
@@ -193,8 +193,8 @@
PosY = 0;
}
- w = CLIP(PosX + w, 0, (int)_backSurface->w - PosX - 1);
- h = CLIP(PosY + h, 0, (int)_backSurface->h - PosY - 1);
+ w = CLIP(w, 0, (int)_backSurface->w - PosX - 1);
+ h = CLIP(h, 0, (int)_backSurface->h - PosY - 1);
if (w == 0 || h == 0)
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