* fix build error

* make betterer polygon splitting an option
* add GL_LEQUAL depth test for 'equal' mode, might help
This commit is contained in:
Arisotura
2020-08-24 19:32:07 +02:00
parent abccc44eec
commit e7025abcdc
9 changed files with 47 additions and 12 deletions

View File

@ -167,3 +167,10 @@ void VideoSettingsDialog::on_cbxGLResolution_currentIndexChanged(int idx)
emit updateVideoSettings(false);
}
void VideoSettingsDialog::on_cbBetterPolygons_stateChanged(int state)
{
Config::GL_BetterPolygons = (state != 0);
emit updateVideoSettings(false);
}