diff --git a/common/lc_context.cpp b/common/lc_context.cpp index fc3e9821..c1367241 100644 --- a/common/lc_context.cpp +++ b/common/lc_context.cpp @@ -235,6 +235,9 @@ void lcContext::DestroyResources() void lcContext::SetDefaultState() { + if (QGLFormat::defaultFormat().sampleBuffers() && QGLFormat::defaultFormat().samples() > 1) + glEnable(GL_LINE_SMOOTH); + glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL);