commit | 442cdc192b140f83a1959c0a68ea357227851964 | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 11 04:09:49 2013 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 11 04:09:49 2013 +0000 |
tree | 74a69d0fb078e31a040e94bceb09fa9c54faad25 | |
parent | a390e1eeeb5e990c9709ef5a4e80cd73f53f77c5 [diff] [blame] |
Fixes bugs in rendering to textures. TRAC #22365 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1683 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/RenderTarget11.cpp b/src/libGLESv2/renderer/RenderTarget11.cpp index a88afde..c84a0b9 100644 --- a/src/libGLESv2/renderer/RenderTarget11.cpp +++ b/src/libGLESv2/renderer/RenderTarget11.cpp
@@ -102,6 +102,7 @@ dsvDesc.Format = requestedFormat; dsvDesc.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D; dsvDesc.Texture2D.MipSlice = 0; + dsvDesc.Flags = 0; result = device->CreateDepthStencilView(rtTexture, &dsvDesc, &mDepthStencil); } else