Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blitting during v-sync

Status
Not open for further replies.

PjotrvA

Programmer
Feb 25, 2003
26
NL
Hi,

Does anyone know a simple way to wait for the v-sync and then blit some images. I have to blit two times two images during every v-sync (so i have four images in total).

I know DirectX has a way to wait for the v-sync, but some people told me this method uses a lot of resources since it's polling for the sync.

Is there a simple piece of code that could help me solve this problem.

thnx
Pjotr

P.S. I would like to use MFC and DirectX9 if possible
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top