Cloning an Image

BlitzMax Forums/BlitzMax Programming/Cloning an Image

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Nope. That happens next time you drawimage.

<edit> When you first load images (even with Loadimage) only pixmaps are created. When you Drawimage for the first time a surface is created from the pixmap and the texture applied. For DX (at least) Bmax uses DX automatic texture manager to decide which surfaces/texture are kept on the card and which are loaded from RAM.
Anyway, this is the Unlockimage function...
Function UnlockImage( image:TImage,frame=0 )
End Function