diff options
Diffstat (limited to 'src/corelib/core/mgraphicssystemhelper.cpp')
-rw-r--r-- | src/corelib/core/mgraphicssystemhelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/core/mgraphicssystemhelper.cpp b/src/corelib/core/mgraphicssystemhelper.cpp index 5f29e9dc..6a1da182 100644 --- a/src/corelib/core/mgraphicssystemhelper.cpp +++ b/src/corelib/core/mgraphicssystemhelper.cpp @@ -128,8 +128,8 @@ void MGraphicsSystemHelper::switchToHardwareRendering(MWindow *window, QGLContex { #ifdef HAVE_MEEGOGRAPHICSSYSTEM if (QMeeGoGraphicsSystemHelper::runningGraphicsSystemName() != QLatin1String("native")) { - mDebug("MGraphicsSystemHelper") << "hardware rendering with meego enabled"; if (!QMeeGoGraphicsSystemHelper::isRunningMeeGo()) { + mDebug("MGraphicsSystemHelper") << "Switching to hardware rendering with meego graphicssystem"; QMeeGoGraphicsSystemHelper::switchToMeeGo(); } *glContext = const_cast<QGLContext*>(QGLContext::currentContext()); @@ -257,7 +257,7 @@ bool MGraphicsSystemHelper::isRunningMeeGoCompatibleGraphicsSystem() { bool MGraphicsSystemHelper::isRunningMeeGoGraphicsSystem() { #ifdef HAVE_MEEGOGRAPHICSSYSTEM - if (QMeeGoGraphicsSystemHelper::isRunningMeeGo()) { + if (QMeeGoGraphicsSystemHelper::runningGraphicsSystemName() == QLatin1String("meego")) { return true; } #endif |