From: <z-...@us...> - 2011-10-11 09:45:17
|
Revision: 10004 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=10004&view=rev Author: z-man Date: 2011-10-11 09:45:06 +0000 (Tue, 11 Oct 2011) Log Message: ----------- Clearing display lists if moviepack seting changed to flush out all texture changes. Modified Paths: -------------- armagetronad/branches/0.2.8.3/armagetronad/src/tron/gGame.cpp Modified: armagetronad/branches/0.2.8.3/armagetronad/src/tron/gGame.cpp =================================================================== --- armagetronad/branches/0.2.8.3/armagetronad/src/tron/gGame.cpp 2011-10-10 19:58:54 UTC (rev 10003) +++ armagetronad/branches/0.2.8.3/armagetronad/src/tron/gGame.cpp 2011-10-11 09:45:06 UTC (rev 10004) @@ -1794,6 +1794,13 @@ #ifndef DEDICATED if (sr_glOut){ + static bool lastMoviePack=sg_MoviePack(); + if(lastMoviePack!=sg_MoviePack()) + { + lastMoviePack=sg_MoviePack(); + rDisplayList::ClearAll(); + } + RenderAllViewports(grid); sr_ResetRenderState(true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |