[Scummvm-cvs-logs] SF.net SVN: scummvm:[53253] scummvm/trunk/engines/sword25/gfx/opengl/ glimage.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Wed Oct 13 00:49:27 CEST 2010
Revision: 53253
http://scummvm.svn.sourceforge.net/scummvm/?rev=53253&view=rev
Author: sev
Date: 2010-10-12 22:49:27 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
SWORD25: Debug output for image blitting
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 22:49:08 UTC (rev 53252)
+++ scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 22:49:27 UTC (rev 53253)
@@ -147,11 +147,7 @@
// -----------------------------------------------------------------------------
-bool BS_GLImage::Blit(int PosX, int PosY,
- int Flipping,
- BS_Rect *pPartRect,
- unsigned int Color,
- int Width, int Height) {
+bool BS_GLImage::Blit(int PosX, int PosY, int Flipping, BS_Rect *pPartRect, unsigned int Color, int Width, int Height) {
int x1 = 0, y1 = 0;
int w = m_Width, h = m_Height;
if (pPartRect) {
@@ -161,6 +157,8 @@
h = pPartRect->bottom - pPartRect->top;
}
+ debug(0, "Blit(%d, %d, %d, [%d, %d, %d, %d], %d, %d, %d)", PosX, PosY, Flipping, x1, y1, w, h, Color, Width, Height);
+
// Skalierungen berechnen
float ScaleX, ScaleY;
if (Width == -1)
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