Skip to content

Commit

Permalink
GS/DX11: Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 14, 2024
1 parent 8766e1f commit 9d978c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pcsx2/GS/Renderers/DX11/GSTexture11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ GSTexture11::GSTexture11(wil::com_ptr_nothrow<ID3D11Texture2D> texture, const D3
GSTexture::Type type, GSTexture::Format format)
: m_texture(std::move(texture))
, m_desc(desc)
, m_mapped_subresource(0)
{
m_size.x = static_cast<int>(desc.Width);
m_size.y = static_cast<int>(desc.Height);
Expand Down
1 change: 0 additions & 1 deletion pcsx2/GS/Renderers/DX11/GSTexture11.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class GSTexture11 final : public GSTexture
wil::com_ptr_nothrow<ID3D11DepthStencilView> m_dsv;
wil::com_ptr_nothrow<ID3D11UnorderedAccessView> m_uav;
D3D11_TEXTURE2D_DESC m_desc;
int m_mapped_subresource;

public:
explicit GSTexture11(wil::com_ptr_nothrow<ID3D11Texture2D> texture, const D3D11_TEXTURE2D_DESC& desc,
Expand Down

0 comments on commit 9d978c6

Please sign in to comment.