mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
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:
parent
3df594a6dd
commit
d2e93cc185
@ -10711,6 +10711,7 @@ Texture::CData::
|
||||
CData(const Texture::CData ©) {
|
||||
_num_mipmap_levels_read = 0;
|
||||
_render_to_texture = copy._render_to_texture;
|
||||
_post_load_store_cache = copy._post_load_store_cache;
|
||||
|
||||
do_assign(©);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user