bp74 / StageXL

A fast and universal 2D rendering engine for HTML5 and Dart.
http://www.stagexl.org
Other
880 stars 82 forks source link

Allow setting the texture pixel format and type #353

Closed mnordine closed 2 years ago

mnordine commented 2 years ago

Closes #298.

mnordine commented 2 years ago

Not sure how this resulted in a conflict, but it seems pretty obvious to fix.

mnordine commented 2 years ago

Note this automatically reads and sets the pixel formats on sprite sheets produced by Texture Packer. It does not do so for other formats, but they should be fairly easy to set after this PR.