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