mirror of
https://github.com/love2d/love.git
synced 2026-08-21 21:15:09 +02:00
vulkan/opengl: fix reported texture memory usage of texture views.
This commit is contained in:
@@ -440,6 +440,7 @@ bool Texture::loadVolatile()
|
||||
}
|
||||
}
|
||||
|
||||
if (parentView.texture == this)
|
||||
updateGraphicsMemorySize(true);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -286,6 +286,7 @@ bool Texture::loadVolatile()
|
||||
}
|
||||
}
|
||||
|
||||
if (root)
|
||||
updateGraphicsMemorySize(true);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user