diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-12-08 13:58:13 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-12-12 18:45:49 +0100 |
commit | c995cbd9bd7739965eaf7a02e16022653802f3b7 (patch) | |
tree | ca0bbc921c65ae02b357650af5f242f82ad67c8c /src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp | |
parent | c5fb2c10a18a54bb852defc1f1fbf598aecdc90b (diff) |
Purge the internal renderSceneGraph function argument list
What we have today is a Qt 5.14/15 leftover where two code paths
(OpenGL, QRhi) were handled by making the function take two arguments.
Ideally there should be zero arguments to this function.
Change-Id: I8376c14ecb553911788265ed6c1d8ba1b6686dbd
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp')
-rw-r--r-- | src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp b/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp index 52a344165b..289e233e5a 100644 --- a/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp +++ b/src/plugins/scenegraph/openvg/qsgopenvgrenderloop.cpp @@ -196,7 +196,7 @@ void QSGOpenVGRenderLoop::renderWindow(QQuickWindow *window) vgTranslate(0.0f, window->size().height()); vgScale(1.0, -1.0); - cd->renderSceneGraph(window->size()); + cd->renderSceneGraph(); if (profileFrames) renderTime = renderTimer.nsecsElapsed(); |