summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJean-Michaël Celerier <jean-michael.celerier@kdab.com>2020-04-21 19:26:46 +0200
committerJean-Michaël Celerier <jean-michael.celerier@kdab.com>2020-04-22 09:39:30 +0200
commitd238aed8b9de81d406f13c5db3cc087bee8d64d4 (patch)
tree9122cbb605d3f4b8cbf61519912ba1f8ac2eadb7 /src
parentff50c1703a19518760e4e5bf2704a7aa0d2244f2 (diff)
rhi: fix another memory leak
Change-Id: Ic69192398efc06e418f9d768a61a55e037041611 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp b/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp
index 76a336e18..b2999c287 100644
--- a/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp
+++ b/src/plugins/renderers/rhi/graphicshelpers/submissioncontext.cpp
@@ -679,7 +679,6 @@ bool SubmissionContext::beginDrawing(QSurface *surface)
void SubmissionContext::endDrawing(bool swapBuffers)
{
m_rhi->endFrame(m_currentSwapChain, {});
- m_currentUpdates = nullptr;
RHI_UNIMPLEMENTED;
//* if (swapBuffers)