texture problem?

Blitz3D Forums/Blitz3D Programming/texture problem?

so i can just do a readpixelfast from the imagebuffer and then writepixelfast to the texturebuffer() without losing alpha channel data?

how do i go about restoring it without the above, i can't find a way to set the flags for the texture after modifying it?