Slightly safer behaviour on use of D3DX_DEFAULT_NONPOW2 - spec is vague on whether it falls back on resizing when cards don't support non-POW2 so do it ourselves.
Slightly safer behaviour on use of D3DX_DEFAULT_NONPOW2 - spec is vague on whether it falls back on resizing when cards don't support non-POW2 so do it ourselves.

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

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