Allow non-windowed mode too

This commit is contained in:
Toni Spets 2010-10-27 20:13:32 +03:00
parent dba56f02fe
commit 9606f1b54f
2 changed files with 44 additions and 16 deletions

1
main.h
View file

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