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:
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)
|
#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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user