mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Fix reported memory usage when using immutable texture storage storage
This commit is contained in:
parent
570d630316
commit
8d6ad30c07
@ -11504,6 +11504,8 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) {
|
||||
gtc->_width = width;
|
||||
gtc->_height = height;
|
||||
gtc->_depth = depth;
|
||||
gtc->update_data_size_bytes(get_texture_memory_size(gtc));
|
||||
|
||||
needs_reload = false;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user