diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2013-01-17 14:10:02 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-17 15:41:38 +0100 |
commit | 9e11754fdceae18b49bf1b0947e48b5f81e85d59 (patch) | |
tree | a8bac660536ab39b43c8892d98abfb8f1c210992 /src/quick/scenegraph/qsgcontext.cpp | |
parent | 9597ef65410aedf998d157681d327f590029d47f (diff) |
Enable sub-pixel anti-aliasing for default builds on Windows
While ANGLE builds only provide the OpenGL ES2 APIs, it's still
a desktop technology and we should default to using high quality
anti-aliasing.
Task-number: QTBUG-28782
Change-Id: Iefc764589e935899ead278cedef4c302694dd2bb
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index cec85cc8f6..c9ac190e86 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -98,7 +98,7 @@ public: : gl(0) , depthStencilBufferManager(0) , distanceFieldCacheManager(0) - #ifndef QT_OPENGL_ES + #if !defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2_ANGLE) , distanceFieldAntialiasing(QSGGlyphNode::HighQualitySubPixelAntialiasing) #else , distanceFieldAntialiasing(QSGGlyphNode::GrayAntialiasing) |