From 287b446ef73d9da392ea917fd5efbd15b11da4de Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 26 Jul 2019 19:16:31 -0400 Subject: [PATCH] D3D/DXShader: Remove duplicate GetByteCode function This is already provided in the base class, which performs the same exact behavior. Given the function in the base class isn't virtual, this also essentially resolves an instance of shadowing. --- Source/Core/VideoBackends/D3D/DXShader.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/VideoBackends/D3D/DXShader.h b/Source/Core/VideoBackends/D3D/DXShader.h index 1913322679..877663adc7 100644 --- a/Source/Core/VideoBackends/D3D/DXShader.h +++ b/Source/Core/VideoBackends/D3D/DXShader.h @@ -16,8 +16,6 @@ public: DXShader(ShaderStage stage, BinaryData bytecode, ID3D11DeviceChild* shader); ~DXShader() override; - const BinaryData& GetByteCode() const { return m_bytecode; } - ID3D11VertexShader* GetD3DVertexShader() const; ID3D11GeometryShader* GetD3DGeometryShader() const; ID3D11PixelShader* GetD3DPixelShader() const;