HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.92k stars 427 forks source link

prevent draw calls to bgsprite when transparent #3173

Closed Geokureli closed 3 weeks ago

Geokureli commented 3 weeks ago

An alpha of 0 is the default, so this should affect most cases

Inspired by @richTrash21 in https://github.com/HaxeFlixel/flixel/pull/3142