mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
60a24625b2
* fix(webgl): sync buffer size with actual GL BUFFER_SIZE on resize * fix(webgl): move buffer update size check to CmdFuncUpdateBuffer * fix(webgl): add buffer resize failure warning and fallback strategy * fix(2d): guard MeshBuffer upload and IA draw when buffer resize fails * fix(gfx): update EmptyBuffer size on resize for unit tests --------- Co-authored-by: vanitynie <vanitynie@qq.com>