aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/quick/scenegraph/qsgrenderloop.cpp2
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp2
-rw-r--r--src/quick/scenegraph/qsgwindowsrenderloop.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop.cpp b/src/quick/scenegraph/qsgrenderloop.cpp
index 9ff34f92b8..644a674749 100644
--- a/src/quick/scenegraph/qsgrenderloop.cpp
+++ b/src/quick/scenegraph/qsgrenderloop.cpp
@@ -287,7 +287,7 @@ void QSGGuiThreadRenderLoop::renderWindow(QQuickWindow *window)
gl = 0;
QString formatStr;
QDebug(&formatStr) << window->requestedFormat();
- QString contextType = QLatin1String(QOpenGLFunctions::isES() ? "EGL" : "OpenGL");
+ QString contextType = QLatin1String("OpenGL");
const char *msg = QT_TRANSLATE_NOOP("QSGGuiThreadRenderLoop", "Failed to create %1 context for format %2");
QString translatedMsg = tr(msg).arg(contextType).arg(formatStr);
QString nonTranslatedMsg = QString(QLatin1String(msg)).arg(contextType).arg(formatStr);
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);
diff --git a/src/quick/scenegraph/qsgwindowsrenderloop.cpp b/src/quick/scenegraph/qsgwindowsrenderloop.cpp
index b3def43514..31012c7589 100644
--- a/src/quick/scenegraph/qsgwindowsrenderloop.cpp
+++ b/src/quick/scenegraph/qsgwindowsrenderloop.cpp
@@ -186,7 +186,7 @@ void QSGWindowsRenderLoop::show(QQuickWindow *window)
const bool isDebug = QLibraryInfo::isDebugBuild();
QString eglLibName = QLatin1String(isDebug ? "libEGLd.dll" : "libEGL.dll");
QString glesLibName = QLatin1String(isDebug ? "libGLESv2d.dll" : "libGLESv2.dll");
- QString contextType = QLatin1String(QOpenGLFunctions::isES() ? "EGL" : "OpenGL");
+ QString contextType = QLatin1String("OpenGL");
const char *msg = QT_TRANSLATE_NOOP(
"QSGWindowsRenderLoop",
"Failed to create %1 context. "