Fix reported memory usage when using immutable texture storage storage

This commit is contained in:
tobspr 2016-01-20 19:29:04 +01:00 committed by rdb
parent 570d630316
commit 8d6ad30c07

View File

@ -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 {