Closed VMFortress closed 2 years ago
We opted to not use usleep
here due to system resolution issues. If you truly need sub ms accuracy please use nsleep
.
Updated to nsleep()
. Apologies as I was using d3d11.c
as reference but I think we've discussed some of this before.
Also, I fixed the type define in dxgi.c
.
The usleep() call lets d3d12 match the sleep calls of d3d11 while maintaining the current millisecond-scale sleep interface in the configuration file.