aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/gfx.cpp')
-rw-r--r--engines/saga/gfx.cpp2
1 files changed, 2 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.