mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:01:06 +02:00
Update TextureCache to work with ResourceCache updates
This commit is contained in:
parent
e1f8b6700c
commit
330a6bb279
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ void NetworkTexture::downloadFinished(const QByteArray& data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetworkTexture::loadContent(const QByteArray& content) {
|
void NetworkTexture::loadContent(const QByteArray& content) {
|
||||||
QThreadPool::globalInstance()->start(new ImageReader(_self, _type, content));
|
QThreadPool::globalInstance()->start(new ImageReader(_self, _type, content, _url));
|
||||||
}
|
}
|
||||||
|
|
||||||
ImageReader::ImageReader(const QWeakPointer<Resource>& texture, TextureType type, const QByteArray& data,
|
ImageReader::ImageReader(const QWeakPointer<Resource>& texture, TextureType type, const QByteArray& data,
|
||||||
|
|
Loading…
Reference in a new issue