mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 01:04:54 +08:00
2d7e3ade55
* Reverts HTMLCanvasElement change in PR #2684. It's a bug of alignment value while reading texture. Adds _alignment variable in HTMLCanvasElement. * Default value of width& height of Canvas is 0. * Call PixelStorei before texImage2D in C++.