From bcba08d3443d9c61f74635d7da4b5dad2303928d Mon Sep 17 00:00:00 2001 From: Felix Kauselmann Date: Sat, 1 Jun 2019 19:05:30 +0200 Subject: [PATCH] OpenGL CoverFlow: Restore antialiasing We previously had to disable antialiasing because z-buffer picking did not work with multisampling enabled. Now we have raytracing, so we can restore it. --- common/gl/yacreader_flow_gl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/gl/yacreader_flow_gl.cpp b/common/gl/yacreader_flow_gl.cpp index c08d5681..1a899d21 100644 --- a/common/gl/yacreader_flow_gl.cpp +++ b/common/gl/yacreader_flow_gl.cpp @@ -231,8 +231,7 @@ YACReaderFlowGL::YACReaderFlowGL(QWidget *parent, struct Preset p) QSurfaceFormat f = format(); - //TODO add antialiasing - //f.setSamples(4); + f.setSamples(4); f.setVersion(2, 1); f.setSwapInterval(0); setFormat(f);