Buffer Swapping

Blitz3D Forums/Blitz3D Programming/Buffer Swapping

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.

I needed to copy the frontbuffer to the backbuffer.

This was because the image resize code I found somewhere on this site used the back buffer to create the resized image, and then Flip was a couple of lines later... whoops, screen flash.

It seemed obvious (after the resize had done it's job) to use :-
CopyRect 0,0,GraphicsWidth(),GraphicsHeight(),0,0,FrontBuffer(),BackBuffer()

but this appears to have no effect.

Am I doing this right?