Original Post
OK... I''ve created a primary surface, and retrieved a back buffer surface from it.
Then I lock the back buffer surface, do a load of drawing to it, and unlock the back buffer surface.
Finally I call lpddsPrimary->Flip(NULL, DDFLIP_WAIT).
This should be all I need to do, right? As I understand it, when I flip, the back buffer becomes the primary buffer - changing what''s on screen instantly - and the primary buffer becomes the back buffer, picking up it''s contents.
However when I do it, flipping every frame, alternate frames show only half of the writing I do to the back buffer. It''s as though the flip simply switches which of the surfaces is shown, instead of doing what I understand to be page flipping (and what the docs say it does).
So can anybody tell me how to fix this?
Thanks!