From ca63fd4e9e0e1e974518380991e6f814768d0ebe Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Wed, 16 May 2012 14:41:30 +0200 Subject: Removed ### from scenegraph Change-Id: I6b114938d2c52df95469975ffa87449f7fd8c647 Reviewed-by: Kim M. Kalland --- src/quick/scenegraph/qsgcontext.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/quick/scenegraph/qsgcontext.cpp') diff --git a/src/quick/scenegraph/qsgcontext.cpp b/src/quick/scenegraph/qsgcontext.cpp index c7a6b323f5..20b383a2b6 100644 --- a/src/quick/scenegraph/qsgcontext.cpp +++ b/src/quick/scenegraph/qsgcontext.cpp @@ -151,7 +151,6 @@ QSGContext::QSGContext(QObject *parent) : QObject(*(new QSGContextPrivate), parent) { Q_D(QSGContext); - // ### Do something with these before final release... static bool doSubpixel = qApp->arguments().contains(QLatin1String("--text-subpixel-antialiasing")); static bool doLowQualSubpixel = qApp->arguments().contains(QLatin1String("--text-subpixel-antialiasing-lowq")); static bool doGray = qApp->arguments().contains(QLatin1String("--text-gray-antialiasing")); @@ -359,14 +358,7 @@ QSGGlyphNode *QSGContext::createGlyphNode() */ QSGRenderer *QSGContext::createRenderer() { - // ### Do something with this before release... - static bool doFrontToBack = qApp->arguments().contains(QLatin1String("--opaque-front-to-back")); - QSGDefaultRenderer *renderer = new QSGDefaultRenderer(this); - if (doFrontToBack) { - printf("QSGContext: Sorting opaque nodes front to back...\n"); - renderer->setSortFrontToBackEnabled(true); - } - return renderer; + return new QSGDefaultRenderer(this); } -- cgit v1.2.3