|
|

楼主 |
发表于 2003-9-29 13:44:00
|
显示全部楼层
Re:???direct?present??????20NS???
????????MMX????????????gamedeV?????????????????????????????????
????????????
The reason for this is may be that when you are creating your D3D device, one of the variables in the "presentation info" struct is not set right. In DX9, you should set the " resentationInterval" parameter of the D3DPRESENT_PARAMETERS struct that you pass to IDirect3D9::CreateDevice to D3DPRESENT_INTERVAL_IMMEDIATE. If you don't, your frame rate will be locked to the refresh rate of your monitor.
I think that the reason DX8 seems to perform better is that D3DPRESENT_INTERVAL_IMMEDIATE was the default back then, but not in DX9.
Hope this helps,
neneboricua |
|