Workaround OpenGL init issue on Windows, hackish

This commit is contained in:
Toni Spets 2010-11-06 21:42:37 +02:00
parent 423c510a17
commit d245af34bb
3 changed files with 25 additions and 13 deletions

3
main.h
View file

@ -39,6 +39,9 @@ typedef struct IDirectDrawImpl
DWORD freq;
BOOL windowed;
/* real export from system32\ddraw.dll */
HRESULT WINAPI (*DirectDrawCreate)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);
struct render
{
LPTHREAD_START_ROUTINE (*main)(void *);