How many Backbuffers?

BlitzMax Forums/BlitzMax Programming/How many Backbuffers?

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.

Hmm, in windowed mode, it seems there is only one backbuffer (this was the case in BlitzPlus as well). So if you draw an image, flip, the current backbuffer isn't blank, it's the exact one you just drew.

However, in full-screen mode there are two backbuffers, so if you call flip, the current backbuffer is blank, call flip again and you return back to the original one you drew. When I say blank, I'm just talking about the first time the app/game is run, not later on when you've drawn on both buffers.

Is this correct?

So, the GrabImage example in the doc has this line:

Graphics 800,600,0'640,480,32
inferring you can run the code in full-screen mode. But you jsut get a black screen because Flip is called before GrabImage thus Grab Image is getting a blank backbuffer (the 2nd backbuffer).