Direct Input: Mouse->Acquire
MSDN says to call the Acquire() function only once, and thereafter only when something causes my window to lose focus.
The problem is, I don't know what's causing my window to lose focus, so my main game loop consists of three functions: MessagePump(), ProcessMouse(), and Render().
At the start of the ProcessMouse() function, each time, I call:
Code:
if(pMouse)
{
pMouse->Acquire();
}
Therefore, re-acquiring the mouse each frame (even if it hasn't necesserily been unaqcuired).
I'm just wondering if anyone out there knows if doing this will eventually cause me problems?