From 834f3768a1a6e91c1f9009029f76a6b39dc1eff8 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 21 Apr 2020 16:01:04 +1000 Subject: [PATCH] GPU/HW: Line coordinate typo fix --- src/core/gpu_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 1d49eee81..0925503e3 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -381,7 +381,7 @@ void GPU_HW::LoadVertices() BatchVertex start, end; start.Set(m_drawing_offset.x + pos0.x, m_drawing_offset.y + pos0.y, color0, 0, 0); - end.Set(m_drawing_offset.x + pos1.x, m_drawing_offset.y + pos0.y, color0, 0, 0); + end.Set(m_drawing_offset.x + pos1.x, m_drawing_offset.y + pos1.y, color1, 0, 0); const s32 min_x = std::min(start.x, end.x); const s32 max_x = std::max(start.x, end.x);