feat(viewport): add aa
This commit is contained in:
@@ -14,6 +14,7 @@ void ViewportGLWidget::initializeGL()
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glEnable(GL_MULTISAMPLE);
|
||||
|
||||
triangleMesh_ = std::make_unique<GLMesh>();
|
||||
gridMesh_ = std::make_unique<GLGrid>();
|
||||
|
||||
Reference in New Issue
Block a user