aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_pixmap_scale.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-28 13:20:30 +0000
committerFilippos Karapetis2009-10-28 13:20:30 +0000
commit04ab6bc9fc831702a26c229027dada1436509b83 (patch)
tree4b0ba4fe63ef9d7b0a1d868d4cec97c53dba397b /engines/sci/gfx/gfx_pixmap_scale.cpp
parentf28fe1b07423941c245e06376761054507d188c1 (diff)
downloadscummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.gz
scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.bz2
scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.zip
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
svn-id: r45459
Diffstat (limited to 'engines/sci/gfx/gfx_pixmap_scale.cpp')
-rw-r--r--engines/sci/gfx/gfx_pixmap_scale.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp
index 5b126f71d2..d542683cee 100644
--- a/engines/sci/gfx/gfx_pixmap_scale.cpp
+++ b/engines/sci/gfx/gfx_pixmap_scale.cpp
@@ -23,6 +23,9 @@
*
*/
+#include "sci/sci.h" // for INCLUDE_OLDGFX
+#ifdef INCLUDE_OLDGFX
+
/* Required defines:
** FUNCNAME: Function name
** SIZETYPE: Type used for each pixel
@@ -126,3 +129,5 @@ void gfx_xlate_pixmap(gfx_pixmap_t *pxm, gfx_mode_t *mode) {
} // End of namespace Sci
+
+#endif