Solved a crash that occurs when using dynamic write buffers with d3d9 and multi-thread. I needed to move the "surface->Release()" call to after the bind call.
Solved a crash that occurs when using dynamic write buffers with d3d9 and multi-thread.
I needed to move the "surface->Release()" call to after the bind call.

--HG--
extra : convert_revision : svn%3A8631bf8a-c64b-0410-883c-f3eb003322f7/trunk%40433

ehsan/ogre,vancepym/ogre,bhlzlx/ogre,nezticle/ogre,jhu-lcsr-forks/ogre,nezticle/ogre,vancepym/ogre,nezticle/ogre,jhu-lcsr-forks/ogre,ruleless/ogre,largerussiangames/ogre,bhlzlx/ogre,jhu-lcsr-forks/ogre,bhlzlx/ogre,bhlzlx/ogre,ruleless/ogre,ruleless/ogre,ehsan/ogre,jhu-lcsr-forks/ogre,ruleless/ogre,largerussiangames/ogre,ruleless/ogre,ruleless/ogre,jhu-lcsr-forks/ogre,ehsan/ogre,ehsan/ogre,bhlzlx/ogre,vancepym/ogre,bhlzlx/ogre,vancepym/ogre,nezticle/ogre,vancepym/ogre,ehsan/ogre,largerussiangames/ogre,largerussiangames/ogre