Skip to content

Commit

Permalink
nv2a: Scale line thickness by surface scale factor
Browse files Browse the repository at this point in the history
  • Loading branch information
faha223 authored Nov 15, 2024
1 parent 8707d2a commit 7f5176b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/xbox/nv2a/pgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f5176b

Please sign in to comment.