ImageGraphics can be updated in different ways. Of them is to call the im.update(texture, boolean dirtyareas = false) method, but then the whole texture will be updated. This could be a problem with images greater than 512x512…
This is exactly the method which i need but when i set dirtyareas to true (similiar to im.update(texture)) then the texture is never updated.
So i think a simple imageGraphics.drawLine(0, 0, 100, 100); call will not mark the image as dirty…
How can i mark it as dirty ?