Move renderers out of surface
This commit is contained in:
parent
5edb561b2b
commit
1521648a6e
9 changed files with 372 additions and 243 deletions
12
surface.h
12
surface.h
|
@ -39,24 +39,12 @@ typedef struct IDirectDrawSurfaceImpl
|
|||
DWORD bpp;
|
||||
DWORD caps;
|
||||
|
||||
IDirectDrawImpl *parent;
|
||||
IDirectDrawPaletteImpl *palette;
|
||||
|
||||
void *surface;
|
||||
DWORD lPitch;
|
||||
DWORD lXPitch;
|
||||
|
||||
HWND hWnd;
|
||||
HANDLE dThread;
|
||||
BOOL dRun;
|
||||
HANDLE flipEvent;
|
||||
|
||||
#if USE_OPENGL
|
||||
HDC hDC;
|
||||
HGLRC hRC;
|
||||
int *glTex;
|
||||
#endif
|
||||
|
||||
} IDirectDrawSurfaceImpl;
|
||||
|
||||
struct IDirectDrawSurfaceImplVtbl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue