openfl / starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Other
237 stars 68 forks source link

AtfTextureFactory does not work at all #129

Closed ljurow closed 5 years ago

ljurow commented 5 years ago

The second (duplicate) declaration of "var texture:Texture = null;" caused the onComplete function to be called with "null" - meaning you could never access this Texture using the AssetManager since it would be null (and I couldn't access a TextureAtlas that used this texture, since it never got created).

ljurow commented 5 years ago

The second (duplicate) declaration of "var texture:Texture = null;" caused the onComplete function to be called with "null" - meaning you could never access this Texture using the AssetManager since it would be null (and I couldn't access a TextureAtlas that used this texture, since it never got created).