diff options
-rw-r--r-- | engines/sword25/gfx/opengl/glimage.cpp | 8 |
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) |