From 9e11754fdceae18b49bf1b0947e48b5f81e85d59 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 17 Jan 2013 14:10:02 +0100 Subject: [PATCH] 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 --- 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 cec85cc..c9ac190 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) -- 1.7.2.5