Skip to content
Permalink
Browse files

D3D11: use a better heuristic for naming the rendertextures

  • Loading branch information
paroj committed Nov 18, 2018
1 parent 3296aed commit b41d6ae1535d6661d332039c4b27526c6d6aebad
Showing with 1 addition and 1 deletion.
  1. +1 −1 RenderSystems/Direct3D11/src/OgreD3D11HardwarePixelBuffer.cpp
@@ -76,7 +76,7 @@ namespace Ogre {
for(size_t zoffset=0; zoffset<mDepth; ++zoffset)
{
String name;
name = "rtt/"+StringConverter::toString((size_t)mParentTexture) + "/" + StringConverter::toString(mMipLevel) + "/" + parentTexture->getName();
name = "rtt/"+StringConverter::toString((size_t)this) + "/" + parentTexture->getName();

RenderTexture *trt = new D3D11RenderTexture(name, this, zoffset, mDevice);
mSliceTRT.push_back(trt);

0 comments on commit b41d6ae

Please sign in to comment.
You can’t perform that action at this time.