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…
Reference in New Issue