Files
cocos4/cocos/core
Yiwen acb3fce607 Add extra steps to the destroy functions to update the cached resources. (#9854)
* Add extra steps to the destroy functions to update the cached resources.
This will make sure that the resources in device.stateCache is valid.

* unbind a resource before destroying it

* remove unnecessary non-null assertion

* update the state after the destruction to make the process robust
2021-12-22 16:06:22 +08:00
..
2021-07-23 11:26:55 +08:00
2021-12-13 15:30:21 +08:00
2021-09-17 13:39:31 +08:00
2021-11-22 23:23:19 +08:00
2021-01-09 11:41:10 +08:00
2021-12-17 10:56:16 +08:00
2021-12-15 16:39:43 +08:00
2021-07-23 11:26:55 +08:00
2021-11-22 23:23:19 +08:00
2021-12-13 18:27:13 +08:00