I have a directx and I am doing a crube fps limiter using Sleep. Before I use Sleep I use timeBeginPeriod(1) to make Sleep prcise to about 1ms. Everything works fine and it limits nearly perfectly except for occasional hiccups.
I am just wondering if anyone else experienced this problem or has any fixes.