summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-26 19:16:31 -0400
committerLioncash <mathew1800@gmail.com>2019-07-26 19:45:23 -0400
commit287b446ef73d9da392ea917fd5efbd15b11da4de (patch)
tree7957b8434cd7ccf7ee46e0800a9dc07a59bb1fc4
parent3c8f6bca5ab9ead8f47e399a1af5168924702fd8 (diff)
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.
-rw-r--r--Source/Core/VideoBackends/D3D/DXShader.h2
1 files changed, 0 insertions, 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;