screen flickers in xp directx9
hello,
when i test my game on win98 with directx 8 it is perfect and run smoothly, but when I test it on windows xp with directx9 it flickers...
I just checked all things, what is the problem??
note : I use directx6 sdk in programming
I had a bug once that did this. When I lost my device, I set a flag indicating I needed to reset. Upon reset, I never cleared the flag. I got flickering 60Hz rendering until I figured out what was wrong.
No ideas otherwise. I''ve used WinXP for games development every day for months without any issues.
No ideas otherwise. I''ve used WinXP for games development every day for months without any issues.
quote:Original post by bahe
hello,
when i test my game on win98 with directx 8 it is perfect and run smoothly, but when I test it on windows xp with directx9 it flickers...
I just checked all things, what is the problem??
note : I use directx6 sdk in programming
Are the FPS drastically different. You may want to toggle the presentation interval in your presentation parameters. Use
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
to disable vysync.
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE
to enable vsync.
Enabling vsync should almost definately get rid of the flicker.. good luck.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement