How to change current drawing surface...

BlitzMax Forums/BlitzMax Programming/How to change current drawing surface...

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

You can not.
there is no buffer you can draw to in default Max2D.

You have to draw to backbuffer and grab into a pixmap you use as image.

You could thought use Render 2 Texture. Indiepath was kind enough to make the source opensource and you can find it here on the boards. (this just will cut out some stone age intel users as those chips do not features this simple DX9 feature but thats not much of a problem. those cards perform really bad with 3D anyway and BM has 3D only even in 2D)