Frame limiter, force the game to draw even when inactive

This commit is contained in:
Toni Spets 2010-10-25 18:51:39 +03:00
parent 7595f6d7e5
commit c196186614
3 changed files with 37 additions and 16 deletions

1
main.h
View file

@ -36,6 +36,7 @@ typedef struct IDirectDrawImpl
DWORD width;
DWORD height;
DWORD bpp;
DWORD freq;
HWND hWnd;
LRESULT CALLBACK (*WndProc)(HWND, UINT, WPARAM, LPARAM);