aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/opengl/glimage.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-16 15:16:53 +0000
committerEugene Sandulenko2010-10-12 22:49:27 +0000
commitb65284078aaa3c1fc3dcc7bebf804d2dc43a8e41 (patch)
tree05aa533b3d1494c5e8c83fbe8f29c99e9ad35a51 /engines/sword25/gfx/opengl/glimage.cpp
parentf95da5e3ee03ee61b1428c86dca4cc76f36c38bb (diff)
downloadscummvm-rg350-b65284078aaa3c1fc3dcc7bebf804d2dc43a8e41.tar.gz
scummvm-rg350-b65284078aaa3c1fc3dcc7bebf804d2dc43a8e41.tar.bz2
scummvm-rg350-b65284078aaa3c1fc3dcc7bebf804d2dc43a8e41.zip
SWORD25: Debug output for image blitting
svn-id: r53253
Diffstat (limited to 'engines/sword25/gfx/opengl/glimage.cpp')
-rw-r--r--engines/sword25/gfx/opengl/glimage.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sword25/gfx/opengl/glimage.cpp b/engines/sword25/gfx/opengl/glimage.cpp
index 4b7f8e6179..a7065cc03d 100644
--- a/engines/sword25/gfx/opengl/glimage.cpp
+++ b/engines/sword25/gfx/opengl/glimage.cpp
@@ -147,11 +147,7 @@ unsigned int BS_GLImage::GetPixel(int X, int Y) {
// -----------------------------------------------------------------------------
-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 @@ bool BS_GLImage::Blit(int PosX, int PosY,
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)