qrhid3d11: Remove unused variable blockDim
Clang emits a warning Change-Id: Ie2bf77248df2b2ecf23e24429688563f9725dd0d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
891b1f51b9
commit
9a0ef07f15
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user