clear bitmap reference after texture is loaded

This commit is contained in:
Hannes Janetzek
2013-10-09 01:56:06 +02:00
parent 7d3c9d1413
commit fbc1bb6386
@@ -158,6 +158,10 @@ public class TextureItem extends Inlist<TextureItem> {
if (!to.ownBitmap)
TextureItem.releaseBitmap(to);
else{
// FIXME when in doubt
to.bitmap = null;
}
}
public static void uploadTexture(TextureItem to, Bitmap bitmap,