diff options
| author | luisr142004 <luisr142004@gmail.com> | 2009-12-08 02:20:27 +0000 |
|---|---|---|
| committer | luisr142004 <luisr142004@gmail.com> | 2009-12-08 02:20:27 +0000 |
| commit | 4df6dc24f88baeb8021918ffbeb52543f29f84e2 (patch) | |
| tree | a8a1ea49abb70f6a3ad1737925b4c133b7b3e639 /Source | |
| parent | 80601f70c5a2e8e74d4355556899886672489a47 (diff) | |
Enable free look for render to main
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4658 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/OS/Win32.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/OS/Win32.cpp b/Source/Plugins/Plugin_VideoOGL/Src/OS/Win32.cpp index 040b5152f9..ff9c5e3840 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/OS/Win32.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/OS/Win32.cpp @@ -185,7 +185,7 @@ void FreeLookInput( UINT iMsg, WPARAM wParam ) switch( iMsg ) { - + case WM_USER_KEYDOWN: case WM_KEYDOWN: switch( LOWORD( wParam )) { @@ -338,8 +338,10 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam) else SetCursor(hCursorBlank); } - if (wParam == WM_USER_KEYDOWN) + if (wParam == WM_USER_KEYDOWN) { OnKeyDown(lParam); + FreeLookInput(wParam, lParam); + } if (wParam == TOGGLE_FULLSCREEN) ToggleFullscreen(m_hWnd); break; |
