From b625a3cb361bbddd9d9682349342839bf737a600 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Tue, 19 Aug 2008 22:51:12 -0400 Subject: [PATCH] anti-aliasing? not effective... --- src/graphics/graphics.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); + */ } -- 2.10.2