I ported my directx application to MFC wizard. while creating device, i made VSync off as follows
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
Now while rendering using infinite while loop, i got above 200 fps . But if I try to render using timer with 5ms, it shows only 64fps. Do i have to set any D3d parameters to get maximum fps using timer.
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
Now while rendering using infinite while loop, i got above 200 fps . But if I try to render using timer with 5ms, it shows only 64fps. Do i have to set any D3d parameters to get maximum fps using timer.