save and restore dc state

This commit is contained in:
FunkyFr3sh 2024-08-15 12:06:02 +02:00
parent 79feefac26
commit f49f09895b
3 changed files with 6 additions and 1 deletions

View file

@ -38,6 +38,7 @@ typedef struct IDirectDrawSurfaceImpl
PBITMAPINFO bmi;
HBITMAP bitmap;
HDC hdc;
int dc_state;
DDCOLORKEY color_key;
DWORD last_flip_tick;
DWORD last_blt_tick;