Revision: 8749
http://ogre.svn.sourceforge.net/ogre/?rev=8749&view=rev
Author: sinbad
Date: 2009-06-27 16:53:11 +0000 (Sat, 27 Jun 2009)
Log Message:
-----------
Patch 2812934: Correctly clean up MRTs in CompositorInstance::freeResources
Modified Paths:
--------------
trunk/OgreMain/src/OgreCompositorInstance.cpp
Modified: trunk/OgreMain/src/OgreCompositorInstance.cpp
===================================================================
--- trunk/OgreMain/src/OgreCompositorInstance.cpp 2009-06-26 19:48:31 UTC (rev 8748)
+++ trunk/OgreMain/src/OgreCompositorInstance.cpp 2009-06-27 16:53:11 UTC (rev 8749)
@@ -749,7 +749,7 @@
// Potentially many surfaces
for (size_t s = 0; s < subSurf; ++s)
{
- String texName = subSurf > 1 ? getMRTTexLocalName(def->name, subSurf)
+ String texName = subSurf > 1 ? getMRTTexLocalName(def->name, s)
: def->name;
LocalTextureMap::iterator i = mLocalTextures.find(texName);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|