aboutsummaryrefslogtreecommitdiff
path: root/saga/gfx.h
diff options
context:
space:
mode:
authorMax Horn2004-04-25 15:14:46 +0000
committerMax Horn2004-04-25 15:14:46 +0000
commitae1b03a1f555bad80b82d5ea07fd665cb56973a3 (patch)
tree0c6da88faf0e08ea4afca9d88ad433686bad66c4 /saga/gfx.h
parentf6a4ed1cff00d813c297f59f9ad2c586da011739 (diff)
downloadscummvm-rg350-ae1b03a1f555bad80b82d5ea07fd665cb56973a3.tar.gz
scummvm-rg350-ae1b03a1f555bad80b82d5ea07fd665cb56973a3.tar.bz2
scummvm-rg350-ae1b03a1f555bad80b82d5ea07fd665cb56973a3.zip
More ScummVMification
svn-id: r13624
Diffstat (limited to 'saga/gfx.h')
-rw-r--r--saga/gfx.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/saga/gfx.h b/saga/gfx.h
index 99389e91d2..26d3fbdb3a 100644
--- a/saga/gfx.h
+++ b/saga/gfx.h
@@ -39,15 +39,6 @@ namespace Saga {
#define R_CURSOR_ORIGIN_X 4
#define R_CURSOR_ORIGIN_Y 4
-#define R_CLAMP(a, min, max) \
- (a = (a < (min)) ? (min) : ((a > max) ? (max) : a ))
-
-#define R_CLAMP_RECT( rect, xmin, xmax, ymin, ymax ) \
- R_CLAMP( rect->x1, xmin, xmax ); \
- R_CLAMP( rect->x2, xmin, xmax ); \
- R_CLAMP( rect->y1, ymin, ymax ); \
- R_CLAMP( rect->y2, ymin, ymax )
-
} // End of namespace Saga
#endif /* R_GFX_H_ */