From 9d978c67ecb9481384482174be7ae0ee059a84d4 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 12 Jan 2024 23:24:46 +1000 Subject: [PATCH] GS/DX11: Remove unused field --- pcsx2/GS/Renderers/DX11/GSTexture11.cpp | 1 - pcsx2/GS/Renderers/DX11/GSTexture11.h | 1 - 2 files changed, 2 deletions(-) diff --git a/pcsx2/GS/Renderers/DX11/GSTexture11.cpp b/pcsx2/GS/Renderers/DX11/GSTexture11.cpp index f6da529ddf9df..5dfece588322e 100644 --- a/pcsx2/GS/Renderers/DX11/GSTexture11.cpp +++ b/pcsx2/GS/Renderers/DX11/GSTexture11.cpp @@ -15,7 +15,6 @@ GSTexture11::GSTexture11(wil::com_ptr_nothrow 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(desc.Width); m_size.y = static_cast(desc.Height); diff --git a/pcsx2/GS/Renderers/DX11/GSTexture11.h b/pcsx2/GS/Renderers/DX11/GSTexture11.h index ad1ed1c344b2c..1381bef877b6d 100644 --- a/pcsx2/GS/Renderers/DX11/GSTexture11.h +++ b/pcsx2/GS/Renderers/DX11/GSTexture11.h @@ -18,7 +18,6 @@ class GSTexture11 final : public GSTexture wil::com_ptr_nothrow m_dsv; wil::com_ptr_nothrow m_uav; D3D11_TEXTURE2D_DESC m_desc; - int m_mapped_subresource; public: explicit GSTexture11(wil::com_ptr_nothrow texture, const D3D11_TEXTURE2D_DESC& desc,