gobj: Fix post_load_store_cache field being uninitialized on cycle

This is randomly causing textures to be downloaded, which can be a significant performance drain
This commit is contained in:
rdb 2023-05-25 13:55:22 +02:00
parent 3df594a6dd
commit d2e93cc185

View File

@ -10711,6 +10711,7 @@ Texture::CData::
CData(const Texture::CData &copy) { CData(const Texture::CData &copy) {
_num_mipmap_levels_read = 0; _num_mipmap_levels_read = 0;
_render_to_texture = copy._render_to_texture; _render_to_texture = copy._render_to_texture;
_post_load_store_cache = copy._post_load_store_cache;
do_assign(&copy); do_assign(&copy);