aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <[email protected]>2014-03-04 11:28:44 +0100
committerThe Qt Project <[email protected]>2014-03-04 12:27:11 +0100
commitfb81479a16e5a96b87c53c7eaaaa74871cd7d0f7 (patch)
tree01853049c9c7c77dca1d7a1c1c9d64c8775ba63b /src/quick/scenegraph/qsgthreadedrenderloop.cpp
parent61900c3fc8ee06ae64f1a8b7c76afd9ebcab04f8 (diff)
Remove isES() usage in scenegraph
The error signal patch added some usages of QOpenGLFunctions::isES(). These need to be temporarily removed. Change-Id: Ibd1d8094059020708aefe4b3502ba56d624928b3 Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Jørgen Lind <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index 0db5e3f88c..0d98fc6464 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -943,7 +943,7 @@ void QSGThreadedRenderLoop::handleExposure(Window *w)
w->thread->gl = 0;
QString formatStr;
QDebug(&formatStr) << w->window->requestedFormat();
- QString contextType = QLatin1String(QOpenGLFunctions::isES() ? "EGL" : "OpenGL");
+ QString contextType = QLatin1String("OpenGL");
const char *msg = QT_TRANSLATE_NOOP("QSGThreadedRenderLoop",
"Failed to create %1 context for format %2");
QString translatedMsg = tr(msg).arg(contextType).arg(formatStr);