diff options
Diffstat (limited to 'Source/Core/VideoCommon/Src/EmuWindow.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/EmuWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/EmuWindow.cpp b/Source/Core/VideoCommon/Src/EmuWindow.cpp index 81227ba0ca..bf9da4190b 100644 --- a/Source/Core/VideoCommon/Src/EmuWindow.cpp +++ b/Source/Core/VideoCommon/Src/EmuWindow.cpp @@ -80,7 +80,7 @@ void FreeLookInput( UINT iMsg, WPARAM wParam ) static bool mouseLookEnabled = false; static bool mouseMoveEnabled = false; static float lastMouse[2]; - POINT point; + POINT point; switch(iMsg) { case WM_USER_KEYDOWN: @@ -133,7 +133,7 @@ void FreeLookInput( UINT iMsg, WPARAM wParam ) lastMouse[1] = (float)point.y; mouseLookEnabled= true; break; - case WM_MBUTTONDOWN: + case WM_MBUTTONDOWN: GetCursorPos(&point); lastMouse[0] = (float)point.x; lastMouse[1] = (float)point.y; |
