Advertisement

Blitting to the primary surface

Started by March 14, 2003 06:58 AM
1 comment, last by SuperHeltenEbbe 21 years, 8 months ago
Hi!! When i try to blit my backbuffer (offscreensurface) to my primary surface it lags very much..... I have an old gfx card.. riva tnt 1... but if I create an attached backbuffer-surface to the primary, and flip, then there is no problem, besides that my fps falls from about 500 to 60 fps.. argh.. Why is flip so slow???? Why doesn''t it work with blt or bltfast to the primary surface??? Thanks for your time P.S. its in ddraw 7...
Hmmm HOA RULEZ
that 60 fps looks suspiciously like your flip is refresh rate dependent. try using DDFLIP_DONOTWAIT as the Flip call''s second parameter.
Advertisement
Thanks .... i also added DDFLIP_NOVSYNC and then it worked properly
Hmmm HOA RULEZ

This topic is closed to new replies.

Advertisement