diff options
author | Max Horn | 2010-11-02 09:50:14 +0000 |
---|---|---|
committer | Max Horn | 2010-11-02 09:50:14 +0000 |
commit | 7cf7b198add96e33438128e1d55114fea813821c (patch) | |
tree | c7ec52ecb02501c6ba09a8f301b7781a3d948362 /engines/m4/graphics.cpp | |
parent | ba3e826872d8456a3bca171bf5613f7802e9582a (diff) | |
download | scummvm-rg350-7cf7b198add96e33438128e1d55114fea813821c.tar.gz scummvm-rg350-7cf7b198add96e33438128e1d55114fea813821c.tar.bz2 scummvm-rg350-7cf7b198add96e33438128e1d55114fea813821c.zip |
M4: Remove redundant fflush calls
svn-id: r54038
Diffstat (limited to 'engines/m4/graphics.cpp')
-rw-r--r-- | engines/m4/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/graphics.cpp b/engines/m4/graphics.cpp index f69a887d65..a45446627c 100644 --- a/engines/m4/graphics.cpp +++ b/engines/m4/graphics.cpp @@ -214,7 +214,7 @@ void M4Surface::drawSprite(int x, int y, SpriteInfo &info, const Common::Rect &c /* debug(kDebugGraphics, "M4Surface::drawSprite() info.width = %d; info.scaleX = %d; info.height = %d; info.scaleY = %d; scaledWidth = %d; scaledHeight = %d\n", - info.width, info.scaleX, info.height, info.scaleY, scaledWidth, scaledHeight); fflush(stdout); + info.width, info.scaleX, info.height, info.scaleY, scaledWidth, scaledHeight); */ int clipX = 0, clipY = 0; @@ -233,7 +233,7 @@ void M4Surface::drawSprite(int x, int y, SpriteInfo &info, const Common::Rect &c scaledHeight = y + scaledHeight; } - //debug(kDebugGraphics, "M4Surface::drawSprite() width = %d; height = %d; scaledWidth = %d; scaledHeight = %d\n", info.width, info.height, scaledWidth, scaledHeight); fflush(stdout); + //debug(kDebugGraphics, "M4Surface::drawSprite() width = %d; height = %d; scaledWidth = %d; scaledHeight = %d\n", info.width, info.height, scaledWidth, scaledHeight); // Check if sprite is inside the screen. If it's not, there's no need to draw it if (scaledWidth + x <= 0 || scaledHeight + y <= 0) // check left and top (in case x,y are negative) |