Commit 6e953990 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

- added depth conversion routines (only 8bpp -> 16 bpp for now)

- added support of DEPTH_FILL for Blits - added some flags in GetCaps to get some games working
parent 22c904d3
......@@ -837,6 +837,9 @@ struct IDirectDrawPalette {
Colormap cm;
PALETTEENTRY palents[256];
int installed;
/* This is to store the palette in 'screen format' */
int screen_palents[256];
};
#undef THIS
......@@ -893,7 +896,8 @@ FAR * ) PURE;
} *LPDIRECTDRAW_VTABLE,IDirectDraw_VTable;
struct _common_directdrawdata {
DWORD depth;
DWORD screen_depth;
DWORD depth; /* SetDisplayMode */
DWORD height,width; /* SetDisplayMode */
HWND32 mainWindow; /* SetCooperativeLevel */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment