Original Post
Hello. The problem: Instead of using Windows cursor, I have decided to render inside DirectX9 application a 2D quad centered at mouse position. The problem begins at low frame rates. I call GetCursorPos() and "submit" the mouse quad for rendering. In Directx9 the actual rendering happens later at "Present()" call and at that time the Windows (real) mouse pointer is already in another place. So it looks like the "custom" quad pointer is trailing behind, the real mouse movement. At high frame rates that is almost unnoticeable. Any ideas or suggestions on how could I make the "custom" quad mouse pointer be displayed as closer as possible to real mouse position? Thank you!