From 9a0ef07f154676cfc3b54b2b1042233b27fe8de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Thu, 5 Sep 2019 12:34:34 +0200 Subject: qrhid3d11: Remove unused variable blockDim Clang emits a warning Change-Id: Ie2bf77248df2b2ecf23e24429688563f9725dd0d Reviewed-by: Laszlo Agocs --- src/gui/rhi/qrhid3d11.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/rhi') diff --git a/src/gui/rhi/qrhid3d11.cpp b/src/gui/rhi/qrhid3d11.cpp index 3e136cdb80..9e8533be23 100644 --- a/src/gui/rhi/qrhid3d11.cpp +++ b/src/gui/rhi/qrhid3d11.cpp @@ -1220,7 +1220,6 @@ void QRhiD3D11::enqueueSubresUpload(QD3D11Texture *texD, QD3D11CommandBuffer *cb const QSize size = subresDesc.sourceSize().isEmpty() ? q->sizeForMipLevel(level, texD->m_pixelSize) : subresDesc.sourceSize(); quint32 bpl = 0; - QSize blockDim; textureFormatInfo(texD->m_format, size, &bpl, nullptr); box.left = dp.x(); box.top = dp.y(); -- cgit v1.2.3