From d485b36b4591ed58c77bccbabaa84c2ea3b78526 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 9 Aug 2011 09:23:13 +0200 Subject: GROOVIE: Use SWAP(). --- engines/groovie/roq.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines') 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() { -- cgit v1.2.3