Render sprites to texture for GL targets

if (GL.context != null) {
   bitmapData.disposeImage();
}

should probably work, I haven’t tried.

1 Like