Skip to content

Commit

Permalink
Multisample antialiasing: set num samples to 4 as a compromise betwee…
Browse files Browse the repository at this point in the history
…n speed and accuracy
  • Loading branch information
dalboris committed Jan 7, 2020
1 parent 56dce02 commit 78ecc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/GLUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void GLUtils::init()
format.setBlueBufferSize(8);
format.setAlphaBufferSize(0);
format.setStencilBufferSize(8);
format.setSamples(16);
format.setSamples(4);
format.setSwapBehavior(QSurfaceFormat::DefaultSwapBehavior);
format.setSwapInterval(0);
format.setColorSpace(QSurfaceFormat::DefaultColorSpace);
Expand Down

0 comments on commit 78ecc58

Please sign in to comment.