CreateImage problem =(

BlitzMax Forums/BlitzMax Programming/CreateImage problem =(

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.

The DrawRect command is in fact drawing to the current buffer not the locked image and when you remove cls it no longer wipes the current buffer and so displays.

(And because you are using windowed mode, there is only one buffer so it does not flicker).