Use game's own window for drawing, initial drawing with grayscale palette

This commit is contained in:
Toni Spets 2010-10-17 14:19:48 +03:00
parent ad037e718c
commit c3ed0a00b1
4 changed files with 57 additions and 28 deletions

View file

@ -73,10 +73,14 @@ typedef struct
DWORD height;
DWORD bpp;
DWORD caps;
void *surface;
DWORD lPitch;
DWORD lXPitch;
HDC hDC;
HGLRC hRC;
int *glTex;
ULONG Ref;