summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/RenderState.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderState.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/Source/Core/VideoCommon/RenderState.cpp b/Source/Core/VideoCommon/RenderState.cpp
index 85b3dc68c1..d84a17257e 100644
--- a/Source/Core/VideoCommon/RenderState.cpp
+++ b/Source/Core/VideoCommon/RenderState.cpp
@@ -18,18 +18,6 @@ void RasterizationState::Generate(const BPMemory& bp, PrimitiveType primitive_ty
cullmode = CullMode::None;
}
-RasterizationState& RasterizationState::operator=(const RasterizationState& rhs)
-{
- hex = rhs.hex;
- return *this;
-}
-
-FramebufferState& FramebufferState::operator=(const FramebufferState& rhs)
-{
- hex = rhs.hex;
- return *this;
-}
-
void DepthState::Generate(const BPMemory& bp)
{
testenable = bp.zmode.testenable.Value();
@@ -37,12 +25,6 @@ void DepthState::Generate(const BPMemory& bp)
func = bp.zmode.func.Value();
}
-DepthState& DepthState::operator=(const DepthState& rhs)
-{
- hex = rhs.hex;
- return *this;
-}
-
// If the framebuffer format has no alpha channel, it is assumed to
// ONE on blending. As the backends may emulate this framebuffer
// configuration with an alpha channel, we just drop all references
@@ -217,12 +199,6 @@ void BlendingState::ApproximateLogicOpWithBlending()
dstfactor = approximations[u32(logicmode.Value())].dstfactor;
}
-BlendingState& BlendingState::operator=(const BlendingState& rhs)
-{
- hex = rhs.hex;
- return *this;
-}
-
void SamplerState::Generate(const BPMemory& bp, u32 index)
{
auto tex = bp.tex.GetUnit(index);
@@ -249,12 +225,6 @@ void SamplerState::Generate(const BPMemory& bp, u32 index)
anisotropic_filtering = 0;
}
-SamplerState& SamplerState::operator=(const SamplerState& rhs)
-{
- hex = rhs.hex;
- return *this;
-}
-
namespace RenderState
{
RasterizationState GetInvalidRasterizationState()