# HG changeset patch # User Santeri Piippo # Date 1515678118 -7200 # Node ID ff8561fc088f11fc32372fbf42ea2425e9cefd6b # Parent 7eb8b59577d0aadd14f280662526835b001477f8 remove GL_POLYGON_SMOOTH because it causes rendering artifacts diff -r 7eb8b59577d0 -r ff8561fc088f src/glRenderer.cpp --- 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); } }