From 7f5176bc5fb7c546871898a8bf5cdaa3632717bf Mon Sep 17 00:00:00 2001 From: Fred Hallock Date: Thu, 14 Nov 2024 23:48:22 -0500 Subject: [PATCH] nv2a: Scale line thickness by surface scale factor --- hw/xbox/nv2a/pgraph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xbox/nv2a/pgraph.c b/hw/xbox/nv2a/pgraph.c index 0127371df2..2dbaf0a1a4 100644 --- a/hw/xbox/nv2a/pgraph.c +++ b/hw/xbox/nv2a/pgraph.c @@ -3053,6 +3053,7 @@ DEF_METHOD(NV097, SET_BEGIN_END) glDisable(GL_DITHER); } + glLineWidth(pg->surface_scale_factor); glEnable(GL_PROGRAM_POINT_SIZE); bool anti_aliasing = GET_MASK(pg->regs[NV_PGRAPH_ANTIALIASING], NV_PGRAPH_ANTIALIASING_ENABLE);