mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Unified AA samples count for QGLFormat and QSurfaceFormat.
This commit is contained in:
parent
2fd16e5e31
commit
7e8530555d
@ -29,7 +29,7 @@ App::App(int &argc, char **argv) : QApplication(argc, argv),
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
|
||||
QGLFormat fmt;
|
||||
fmt.setSamples(10);
|
||||
fmt.setSamples(4);
|
||||
QGLFormat::setDefaultFormat(fmt);
|
||||
#else
|
||||
QSurfaceFormat fmt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user