X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fgraphics%2Fgraphics.cpp;h=d5148c11cc5b8ed5ca470c104013971bc45677f8;hp=d9e1dcc4b8b68a5107833a664151dca7fba2cff8;hb=b625a3cb361bbddd9d9682349342839bf737a600;hpb=033c553524d4a0407f6fabd0bcebf1d460519cf5 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); + */ }