1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02: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) #if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
QGLFormat fmt; QGLFormat fmt;
fmt.setSamples(10); fmt.setSamples(4);
QGLFormat::setDefaultFormat(fmt); QGLFormat::setDefaultFormat(fmt);
#else #else
QSurfaceFormat fmt; QSurfaceFormat fmt;