aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgrhisupport.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-06-25 13:37:53 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-06-26 09:35:01 +0200
commitd4feac29e3a3f6f3c9eb320553cd926fef1c536e (patch)
tree7ca664969f00d9cd66d3eb19f175100944ab6274 /src/quick/scenegraph/qsgrhisupport.cpp
parenta06e873a1e80eda2f8e946ebe4e2f7631c78f53d (diff)
Add what-would-my-graphics-api-be getter
Change-Id: I2bf50a46ea18fe06068192ad695652830c3a3861 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgrhisupport.cpp')
-rw-r--r--src/quick/scenegraph/qsgrhisupport.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgrhisupport.cpp b/src/quick/scenegraph/qsgrhisupport.cpp
index e8855ab071..e8edbeac57 100644
--- a/src/quick/scenegraph/qsgrhisupport.cpp
+++ b/src/quick/scenegraph/qsgrhisupport.cpp
@@ -117,6 +117,8 @@ QSGRhiSupport::QSGRhiSupport()
void QSGRhiSupport::applySettings()
{
+ // Multiple calls to this function are perfectly possible!
+ // Just store that it was called at least once.
m_settingsApplied = true;
// This is also done when creating the renderloop but we may be before that