Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

rasterizer: Remove unnecessary 'using' for BlendEquation.

bunneidcbc653b90eb
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index 2613e398f2..e0f8d9e6ff 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -815,10 +815,9 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
}
};
- using BlendEquation = Regs::BlendEquation;
static auto EvaluateBlendEquation = [](const Math::Vec4<u8>& src, const Math::Vec4<u8>& srcfactor,
const Math::Vec4<u8>& dest, const Math::Vec4<u8>& destfactor,
- BlendEquation equation) {
+ Regs::BlendEquation equation) {
Math::Vec4<int> result;
auto src_result = (src * srcfactor).Cast<int>();