libgdx/libgdx — pull request #1060 by niyaro (2013-12-06 14:27:05+00:00)
Title: Bug-fix: AssetManager loads ETC1 textures synchronously

In it's loadAsync method TextureLoader calls ETC1TextureData and It only stores file handler for later loading with prepare() function which is only called in loadSync. So simple way to fix issue is to move this line:
if (!info.data.isPrepared()) info.data.prepare();
out of else clause to the end of loadAsync so it's always called. This also makes code on lines 69-72 redundant so it can be safely removed.

On a slightly related note, any thoughts on how asynchronous loading of ETC1 into Cubemap should be implemented? I don't see any solution that doesn't involve serious rewriting of AssetManager