aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-09-30 15:44:49 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-10-05 14:56:04 +0200
commit62b9f1f3909fbe856d59639caed45ea3c466519c (patch)
tree92d92aed90c5c0d95f0cbbfe0f60d26fea352896 /src/quick/scenegraph/qsgthreadedrenderloop.cpp
parent389d4b1971630a67e3d6fa45b11ec13af59d26e0 (diff)
Follow rhi per-frame to per-pass flag change
Change-Id: I728cecd85807eb835703a0bb8bb4acdb1f2068ae Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index fca2cfb5fa..48ae4a9116 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -704,9 +704,7 @@ void QSGRenderThread::syncAndRender(QImage *grabImage)
emit window->beforeFrameBegin();
Q_ASSERT(rhi == cd->rhi);
- // ### the flag should only be set when the app requests it, but there's no way to do that right now
- QRhi::BeginFrameFlags frameFlags = QRhi::ExternalContentsInPass;
- QRhi::FrameOpResult frameResult = rhi->beginFrame(cd->swapchain, frameFlags);
+ QRhi::FrameOpResult frameResult = rhi->beginFrame(cd->swapchain);
if (frameResult != QRhi::FrameOpSuccess) {
if (frameResult == QRhi::FrameOpDeviceLost)
handleDeviceLoss();