From: Patrik Gornicz Date: Wed, 20 Aug 2008 02:51:12 +0000 (-0400) Subject: anti-aliasing? not effective... X-Git-Tag: physics-premerge~149 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=b625a3cb361bbddd9d9682349342839bf737a600;p=libbear.git anti-aliasing? not effective... --- diff --git a/src/graphics/graphics.cpp b/src/graphics/graphics.cpp index d9e1dcc..d5148c1 100644 --- a/src/graphics/graphics.cpp +++ b/src/graphics/graphics.cpp @@ -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); + */ }