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
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