Thu, 11 Jan 2018 15:41:58 +0200
remove GL_POLYGON_SMOOTH because it causes rendering artifacts
src/glRenderer.cpp | file | annotate | diff | comparison | revisions |
--- a/src/glRenderer.cpp Thu Jan 11 15:30:30 2018 +0200 +++ b/src/glRenderer.cpp Thu Jan 11 15:41:58 2018 +0200 @@ -176,14 +176,11 @@ if (config->antiAliasedLines()) { glEnable(GL_LINE_SMOOTH); - glEnable(GL_POLYGON_SMOOTH); glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); - glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST); } else { glDisable(GL_LINE_SMOOTH); - glDisable(GL_POLYGON_SMOOTH); } }