From b65284078aaa3c1fc3dcc7bebf804d2dc43a8e41 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 16 Aug 2010 15:16:53 +0000 Subject: SWORD25: Debug output for image blitting svn-id: r53253 --- engines/sword25/gfx/opengl/glimage.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'engines/sword25/gfx/opengl') 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) -- cgit v1.2.3