summaryrefslogtreecommitdiffstats
path: root/src/render/texture/qtextureimagedata.h
diff options
context:
space:
mode:
authorJuan José Casafranca <juan.casafranca@kdab.com>2020-09-30 13:34:23 +0200
committerPaul Lemire <paul.lemire@kdab.com>2020-10-27 08:54:20 +0100
commit9ed9a165f8470cfe88fdbc658b8d12b38f111f1e (patch)
treedc151790c31bef8c19aca9f4e67ef92a933b5af7 /src/render/texture/qtextureimagedata.h
parent2e089e74e5cb2337f801359157c842f24aa73f3d (diff)
Pass the raw data to the texture data extractor
Change-Id: If6ca151b22f442985df1ff34108ca0bd216ebf47 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> (cherry picked from commit 6fdf835639e56c68ae01da894c7d2b9f552dd87d)
Diffstat (limited to 'src/render/texture/qtextureimagedata.h')
-rw-r--r--src/render/texture/qtextureimagedata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/texture/qtextureimagedata.h b/src/render/texture/qtextureimagedata.h
index f546cec8c..01844b943 100644
--- a/src/render/texture/qtextureimagedata.h
+++ b/src/render/texture/qtextureimagedata.h
@@ -100,7 +100,7 @@ public:
bool isCompressed = false);
void setData(const QByteArray &data,
- std::function<QByteArray(int layer, int face, int mipmapLevel)>,
+ std::function<QByteArray(QByteArray rawData, int layer, int face, int mipmapLevel)>,
bool isCompressed = false);
QByteArray data(int layer = 0, int face = 0, int mipmapLevel = 0) const;