Move critical section to main ddraw, fix shadow window bug when exiting fullscreen
This commit is contained in:
parent
40f196bc8f
commit
fdf8395dd1
4 changed files with 23 additions and 19 deletions
2
main.h
2
main.h
|
@ -44,6 +44,7 @@ typedef struct IDirectDrawImpl
|
|||
|
||||
/* real export from system32\ddraw.dll */
|
||||
HRESULT WINAPI (*DirectDrawCreate)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);
|
||||
CRITICAL_SECTION cs;
|
||||
|
||||
struct
|
||||
{
|
||||
|
@ -56,7 +57,6 @@ typedef struct IDirectDrawImpl
|
|||
HANDLE thread;
|
||||
BOOL run;
|
||||
HANDLE ev;
|
||||
CRITICAL_SECTION cs;
|
||||
DEVMODE mode;
|
||||
|
||||
} render;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue