diff options
author | Christoph Mallon | 2011-08-09 09:23:13 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-11-21 15:58:31 +0100 |
commit | d485b36b4591ed58c77bccbabaa84c2ea3b78526 (patch) | |
tree | de53a83b96c59d2e104361b69b5f7db176662fb2 /engines/groovie | |
parent | 34d85734e65ccf7103f06fc7682921da5d16ab8d (diff) | |
download | scummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.tar.gz scummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.tar.bz2 scummvm-rg350-d485b36b4591ed58c77bccbabaa84c2ea3b78526.zip |
GROOVIE: Use SWAP().
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/roq.cpp | 4 |
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() { |