aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-09 09:23:13 +0200
committerAlyssa Milburn2011-11-21 15:58:31 +0100
commitd485b36b4591ed58c77bccbabaa84c2ea3b78526 (patch)
treede53a83b96c59d2e104361b69b5f7db176662fb2
parent34d85734e65ccf7103f06fc7682921da5d16ab8d (diff)
downloadscummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.tar.gz
scummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.tar.bz2
scummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.zip
GROOVIE: Use SWAP().
-rw-r--r--engines/groovie/roq.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp
index ca896a8d21..53f335ce68 100644
--- a/engines/groovie/roq.cpp
+++ b/engines/groovie/roq.cpp
@@ -138,9 +138,7 @@ void ROQPlayer::buildShowBuf() {
}
// Swap buffers
- Graphics::Surface *tmp = _prevBuf;
- _prevBuf = _currBuf;
- _currBuf = tmp;
+ SWAP(_prevBuf, _currBuf);
}
bool ROQPlayer::playFrameInternal() {