From d4feac29e3a3f6f3c9eb320553cd926fef1c536e Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 25 Jun 2020 13:37:53 +0200 Subject: Add what-would-my-graphics-api-be getter Change-Id: I2bf50a46ea18fe06068192ad695652830c3a3861 Reviewed-by: Andy Nichols --- src/quick/scenegraph/qsgrhisupport.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/quick/scenegraph/qsgrhisupport.cpp') 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 -- cgit v1.2.3