diff options
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 1893c269cb..36bfc52aeb 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -484,6 +484,7 @@ void QQuickWindowRenderTarget::reset(QRhi *rhi) delete texture; delete renderBuffer; delete depthStencil; + delete depthStencilTexture; } delete paintDevice; @@ -494,6 +495,7 @@ void QQuickWindowRenderTarget::reset(QRhi *rhi) texture = nullptr; renderBuffer = nullptr; depthStencil = nullptr; + depthStencilTexture = nullptr; paintDevice = nullptr; owns = false; multiViewCount = 1; |