--TheGoop
Odd flipping problem
try bltting to BOTH surfaces before flipping.
~queasy.
By the way, my flipping code is...
lpddsPrimary->Flip(NULL, DDFLIP_WAIT);
If that would have helped... And what do you mean blit both surfaces at once?
Well, thanx for both your replies anyways!
The weird thing is, this only happens when I have enough video memory to hold the front buffer and the back buffer. For example, I have an ATI 3d Expression with 4 megs of video ram. When I make the front and back surfaces 800x600x24, there isn't enough video memory for the backbuffer, and it looks fine, although slow... When I make it 800x600x16, however, there IS enough memory, and it presents me with the odd problem. If I were to flip the surfaces by blitting the backbuffer ONTO the front buffer, it looks fine. HELP WILL BE GREATLY APPRECIATED, THANX!!!
i had the problem a real *real* long time ago when i first started out with dx. Heh, heh... i remembered how perplexed i was when i fixed it