summaryrefslogtreecommitdiffstats
path: root/src/plugins/renderers/rhi/textures/texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/renderers/rhi/textures/texture.cpp')
-rw-r--r--src/plugins/renderers/rhi/textures/texture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/renderers/rhi/textures/texture.cpp b/src/plugins/renderers/rhi/textures/texture.cpp
index 53f9e62ca..751574c8c 100644
--- a/src/plugins/renderers/rhi/textures/texture.cpp
+++ b/src/plugins/renderers/rhi/textures/texture.cpp
@@ -255,6 +255,8 @@ QRhiTextureUploadEntry createUploadEntry(int mipLevel, int layer, int xOffset, i
int zOffset, const QByteArray &bytes,
const QTextureImageDataPtr &data) noexcept
{
+ Q_UNUSED(zOffset)
+ Q_UNUSED(data)
QRhiTextureSubresourceUploadDescription description;
description.setData(bytes);
description.setSourceTopLeft(QPoint(xOffset, yOffset));