nv2a: Scale line thickness by surface scale factor

This commit is contained in:
Fred Hallock 2024-11-14 23:48:22 -05:00 committed by GitHub
parent 8707d2aa26
commit 7f5176bc5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);