aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/gfxcore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/gfxcore.cpp')
-rw-r--r--engines/tony/gfxcore.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 8c992eb150..170870a89b 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -162,18 +162,6 @@ void RMGfxSourceBuffer::PrepareImage(void) {
bool RMGfxSourceBuffer::Clip2D(int &x1, int &y1, int &u, int &v, int &width, int &height, bool bUseSrc, RMGfxTargetBuffer *buf) {
int destw, desth;
-/*
- OBSOLETE CODE:
-
- if (buf == NULL) {
- destw=RM_SX;
- desth=RM_SY;
- } else {
- destw = buf->Dimx();
- desth = buf->Dimy();
- }
-*/
-
destw = buf->Dimx();
desth = buf->Dimy();