|
|
@ -1272,7 +1272,7 @@ void RasterizerOpenGL::SyncPointState() {
|
|
|
|
const auto& regs = system.GPU().Maxwell3D().regs;
|
|
|
|
const auto& regs = system.GPU().Maxwell3D().regs;
|
|
|
|
// Limit the point size to 1 since nouveau sometimes sets a point size of 0 (and that's invalid
|
|
|
|
// Limit the point size to 1 since nouveau sometimes sets a point size of 0 (and that's invalid
|
|
|
|
// in OpenGL).
|
|
|
|
// in OpenGL).
|
|
|
|
state.point.program_control = regs.vp_point_size.enable ? GL_TRUE : GL_FALSE;
|
|
|
|
state.point.program_control = regs.vp_point_size.enable != 0;
|
|
|
|
state.point.size = std::max(1.0f, regs.point_size);
|
|
|
|
state.point.size = std::max(1.0f, regs.point_size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|