From: Eskil Abrahamsen Blomfeldt Date: Thu, 17 Jan 2013 13:10:02 +0000 (+0100) Subject: Enable sub-pixel anti-aliasing for default builds on Windows X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=9e11754fdceae18b49bf1b0947e48b5f81e85d59;p=konrad%2Fqtdeclarative.git 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 --- 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)