1
0
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:
Martin Tůma 2016-12-10 11:45:16 +01:00
parent 2fd16e5e31
commit 7e8530555d

View File

@ -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;