mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
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.
This commit is contained in:
parent
622978b2bd
commit
bcba08d344
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user