Don't enable GL_POLYGON_SMOOTH. That looks awful on my other

laptop, for some graphics card reason.

[git-p4: depot-paths = "//depot/solvespace/": change = 1869]
This commit is contained in:
Jonathan Westhues 2008-08-14 23:37:19 -08:00
parent 4bfa48fd9f
commit fe77e7cf7e

View File

@ -908,7 +908,8 @@ void GraphicsWindow::Paint(int w, int h) {
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);
glEnable(GL_POLYGON_SMOOTH);
// don't enable GL_POLYGON_SMOOTH; that looks ugly on some graphics cards,
// drawn with leaks in the mesh
glEnable(GL_POLYGON_OFFSET_LINE);
glEnable(GL_POLYGON_OFFSET_FILL);
glEnable(GL_DEPTH_TEST);