removed GL_POLYGON_SMOOTH because it causes artifacts

Fri, 12 Jan 2018 00:22:35 +0200

author
Santeri Piippo
date
Fri, 12 Jan 2018 00:22:35 +0200
changeset 1235
b2e44b23b42a
parent 1234
eb5f28241928
child 1236
861bf8ebb8ec

removed GL_POLYGON_SMOOTH because it causes artifacts

src/glrenderer.cpp file | annotate | diff | comparison | revisions
--- a/src/glrenderer.cpp	Fri Jan 12 00:20:23 2018 +0200
+++ b/src/glrenderer.cpp	Fri Jan 12 00:22:35 2018 +0200
@@ -180,14 +180,11 @@
 	if (m_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);
 	}
 }
 

mercurial