anti-aliasing? not effective...
authorPatrik Gornicz <Gornicz.P@gmail.com>
Wed, 20 Aug 2008 02:51:12 +0000 (22:51 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Wed, 20 Aug 2008 02:51:12 +0000 (22:51 -0400)
src/graphics/graphics.cpp

index d9e1dcc..d5148c1 100644 (file)
@@ -109,4 +109,14 @@ void glInit()
     glLoadIdentity();
 
     glEnable(GL_DEPTH_TEST);
+
+    // anti aliasing?
+    /*
+    glEnable(GL_BLEND);
+    glEnable(GL_POLYGON_SMOOTH_HINT);
+
+    glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
+
+    glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
+    */
 }