RenderTarget11 converts the format again for mActualFormat to match RenderTarget9.

TRAC #22417 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1863 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 88fbd0fe
......@@ -322,7 +322,7 @@ RenderTarget11::RenderTarget11(Renderer *renderer, GLsizei width, GLsizei height
mHeight = height;
mInternalFormat = format;
mSamples = supportedSamples;
mActualFormat = format;
mActualFormat = d3d11_gl::ConvertTextureInternalFormat(requestedFormat);
mSubresourceIndex = D3D11CalcSubresource(0, 0, 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment