mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge branch 'smarter_textures' of https://github.com/highfidelity/hifi into texmex
This commit is contained in:
commit
b6f778633e
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ Texture::Pixels::Pixels(const Element& format, Size size, const Byte* bytes) :
|
|||
}
|
||||
|
||||
Texture::Pixels::~Pixels() {
|
||||
Texture::updateTextureCPUMemoryUsage(_storage->size(), 0);
|
||||
if (_storage) {
|
||||
Texture::updateTextureCPUMemoryUsage(_storage->size(), 0);
|
||||
}
|
||||
}
|
||||
|
||||
void Texture::Storage::assignTexture(Texture* texture) {
|
||||
|
|
Loading…
Reference in a new issue