diff --git a/src/core/gpu_sw_backend.cpp b/src/core/gpu_sw_backend.cpp index 0ab2e68e8..925e20bd5 100644 --- a/src/core/gpu_sw_backend.cpp +++ b/src/core/gpu_sw_backend.cpp @@ -51,7 +51,7 @@ void GPU_SW_Backend::DrawLine(const GPUBackendDrawLineCommand* cmd) const GPU_SW_Rasterizer::DrawLineFunction DrawFunction = GPU_SW_Rasterizer::GetDrawLineFunction(cmd->rc.shading_enable, cmd->rc.transparency_enable); - for (u16 i = 1; i < cmd->num_vertices; i++) + for (u16 i = 1; i < cmd->num_vertices; i += 2) DrawFunction(cmd, &cmd->vertices[i - 1], &cmd->vertices[i]); }