diff options
author | Filippos Karapetis | 2008-12-05 18:56:52 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-05 18:56:52 +0000 |
commit | 72ba213b360c3c19f2a4916a67d8e9c46e02990a (patch) | |
tree | 7cf702085132000145108fe812020d945f8e4cf0 | |
parent | bc5f25b5a0035668521f8d04728658b1ab2106c0 (diff) | |
download | scummvm-rg350-72ba213b360c3c19f2a4916a67d8e9c46e02990a.tar.gz scummvm-rg350-72ba213b360c3c19f2a4916a67d8e9c46e02990a.tar.bz2 scummvm-rg350-72ba213b360c3c19f2a4916a67d8e9c46e02990a.zip |
Removed more unneeded test code
svn-id: r35250
-rw-r--r-- | engines/saga/gfx.cpp | 2 | ||||
-rw-r--r-- | engines/saga/gfx.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp index 9585aac1b1..b1e1e306ca 100644 --- a/engines/saga/gfx.cpp +++ b/engines/saga/gfx.cpp @@ -59,6 +59,7 @@ Gfx::~Gfx() { _backBuffer.free(); } +#ifdef SAGA_DEBUG void Surface::drawPalette() { int x; int y; @@ -78,6 +79,7 @@ void Surface::drawPalette() { } } } +#endif // * Copies a rectangle from a raw 8 bit pixel buffer to the specified surface. // - The surface must match the logical dimensions of the buffer exactly. diff --git a/engines/saga/gfx.h b/engines/saga/gfx.h index 68b77639d8..21e35b69bb 100644 --- a/engines/saga/gfx.h +++ b/engines/saga/gfx.h @@ -99,7 +99,9 @@ struct Color { struct Surface : Graphics::Surface { void transitionDissolve(const byte *sourceBuffer, const Common::Rect &sourceRect, int flags, double percent); +#ifdef SAGA_DEBUG void drawPalette(); +#endif void drawPolyLine(const Point *points, int count, int color); void blit(const Common::Rect &destRect, const byte *sourceBuffer); |