fix for non working vsync

This commit is contained in:
FunkyFr3sh 2018-07-16 12:27:41 +02:00
parent 9d9ced47f4
commit d98cf4f6ea
4 changed files with 45 additions and 4 deletions

View file

@ -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: