fix for non working vsync
This commit is contained in:
parent
9d9ced47f4
commit
d98cf4f6ea
4 changed files with 45 additions and 4 deletions
|
@ -662,6 +662,15 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
#endif
|
||||
break;
|
||||
|
||||
#ifdef HAVE_LIBPNG
|
||||
case WM_KEYUP:
|
||||
if (wParam == VK_SNAPSHOT)
|
||||
screenshot(ddraw->primary);
|
||||
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
||||
/* button up messages reactivate cursor lock */
|
||||
case WM_LBUTTONUP:
|
||||
case WM_RBUTTONUP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue