iedoc - first of all, that makes a lot of sense. Thanks for that information.
That being said though, how is the render loop in another thread suppose to look like then?
Assuming i'm looking for a variable time step (so I can't base the loop on time), and no vsync.
I tried looking into getting the current monitor refresh rate, then limiting
the amount of draw calls to that, however as far as I can tell, there is no "secure"
(one that will always bring a result) method of doing such thing.
For example, EnumDisplaySettings() and DEVMODE structure ( http://msdn.microsoft.com/en-us/library/windows/desktop/dd183565(v=vs.85).aspx )
, say that if the value is 0, it uses the adapter default refresh rate. However, I can't seem to find a way to get
the adapter default refresh rate.
Also, is that a good idea? if not, how else should I do such thing?