Files
cocos4/cocos/core
Yiwen 8402289d77 fix the bugs found in PR9854. (#9875)
* 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

* fix the bugs introduced in PR9854.
bug: forgot to update the active texUnit in stateCache.

* reduce the use of dot operator to improve performance.

* fix the bug introduced in the previous commit

* reduce the use of dot operator to improve performance
2022-01-05 23:20:47 +08:00
..
2021-07-23 11:26:55 +08:00
2021-12-30 14:16:30 +08:00
2021-12-13 15:30:21 +08:00
2021-09-17 13:39:31 +08:00
2022-01-05 23:20:47 +08:00
2021-12-28 11:52:01 +08:00
2021-11-22 23:23:19 +08:00
2021-01-09 11:41:10 +08:00
2021-12-15 16:39:43 +08:00
2021-07-23 11:26:55 +08:00
2021-12-30 10:03:36 +08:00
2021-12-13 18:27:13 +08:00