aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgrenderloop_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-11-27 13:56:27 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-11-28 10:55:15 +0100
commit77a5b336fc7dbb16840e6b2ec86365c2f5e979c6 (patch)
tree334105ac942f24b46fb526441c6db2589fd2ba59 /src/quick/scenegraph/qsgrenderloop_p.h
parenta26792aef8a19432748b453fe09bf0579c4dd1c1 (diff)
Prevent infinite rhi init failure in threaded render loop
Task-number: QTBUG-80365 Change-Id: I929fb76eb8d023ab048f6d1c91be078de3cfe750 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop_p.h')
-rw-r--r--src/quick/scenegraph/qsgrenderloop_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop_p.h b/src/quick/scenegraph/qsgrenderloop_p.h
index 02d0b84de1..e720a3636b 100644
--- a/src/quick/scenegraph/qsgrenderloop_p.h
+++ b/src/quick/scenegraph/qsgrenderloop_p.h
@@ -112,12 +112,11 @@ public:
static void cleanup();
+ void handleContextCreationFailure(QQuickWindow *window, bool isEs);
+
Q_SIGNALS:
void timeToIncubate();
-protected:
- void handleContextCreationFailure(QQuickWindow *window, bool isEs);
-
private:
static QSGRenderLoop *s_instance;