Note: I had a concern about calling gettimeofday, but I saw it was already used in dlls\ntdll\time.c and I think I have done the right includes.
If you can avoid gettimeofday please try to. I have a patch to add gettimeofday to wine_port in the ReactOS tree but the dlls really should avoid calling *nix only functions if you can.
Not that it really matters as most of WINEs directX stuff wont work on ReactOS for years++ anyway.
Thanks Steven
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
On Wed, Jul 16, 2003 at 07:58:51PM -0700, Steven Edwards wrote:
Note: I had a concern about calling gettimeofday, but I saw it was already used in dlls\ntdll\time.c and I think I have done the right includes.
If you can avoid gettimeofday please try to. I have a patch to add gettimeofday to wine_port in the ReactOS tree but the dlls really should avoid calling *nix only functions if you can.
Not that it really matters as most of WINEs directX stuff wont work on ReactOS for years++ anyway.
In the D3D1-7 FPS code (which is under #ifdef / #endif for the moment), I used QueryPerformanceCounter as a real Windows program would do :-)
I will switch to the new FPS channel too, it's a nice idea.
Lionel
In the D3D1-7 FPS code (which is under #ifdef / #endif for the moment), I used QueryPerformanceCounter as a real Windows program would do :-)
Could you check that my QPC patch doesn't cause any D3D regressions then? I didn't realise you used it in that part of the code.
thanks -mike