diff --git a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp index 24b045526b..3225393189 100644 --- a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp +++ b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp @@ -2360,11 +2360,14 @@ void GSDeviceOGL::RenderHW(GSHWDrawConfig& config) glDisable(GL_PROGRAM_POINT_SIZE); GLState::point_size = point_size_enabled; } - const float line_width = config.line_expand ? static_cast(GSConfig.UpscaleMultiplier) : 1.0f; - if (GLState::line_width != line_width) + if (config.topology == GSHWDrawConfig::Topology::Line) { - GLState::line_width = line_width; - glLineWidth(line_width); + const float line_width = config.line_expand ? config.cb_ps.ScaleFactor.z : 1.0f; + if (GLState::line_width != line_width) + { + GLState::line_width = line_width; + glLineWidth(line_width); + } } if (config.destination_alpha == GSHWDrawConfig::DestinationAlphaMode::PrimIDTracking) diff --git a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp index 2dc58c356e..c42f87b379 100644 --- a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp +++ b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp @@ -3618,7 +3618,7 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config) SetBlendConstants(config.blend.constant); if (config.topology == GSHWDrawConfig::Topology::Line) - SetLineWidth(config.cb_ps.ScaleFactor.z); + SetLineWidth(config.line_expand ? config.cb_ps.ScaleFactor.z : 1.0f); // Primitive ID tracking DATE setup. GSTextureVK* date_image = nullptr;