mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d9] Don't check IsNull for depth stencil views
We don't need to do this. Depth stencils can never be D3DFMT_NULL.
This commit is contained in:
parent
e33627cfdc
commit
64e649ae18
@ -93,7 +93,7 @@ namespace dxvk {
|
||||
Rc<DxvkImageView> GetDepthStencilView() {
|
||||
Rc<DxvkImageView>& view = m_depthStencilView;
|
||||
|
||||
if (unlikely(view == nullptr && !IsNull()))
|
||||
if (unlikely(view == nullptr))
|
||||
view = m_texture->CreateView(m_face, m_mipLevel, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, false);
|
||||
|
||||
return view;
|
||||
|
Loading…
x
Reference in New Issue
Block a user