Implement palettes, correct colors now
This commit is contained in:
parent
c3ed0a00b1
commit
230c0e04b8
4 changed files with 28 additions and 4 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include "ddraw.h"
|
||||
#include "palette.h"
|
||||
|
||||
HRESULT ddraw_CreateSurface(void *This, LPDDSURFACEDESC DDSurfaceDesc, LPDIRECTDRAWSURFACE FAR *DDSurface, IUnknown FAR * unkOuter);
|
||||
|
||||
|
@ -74,6 +75,8 @@ typedef struct
|
|||
DWORD bpp;
|
||||
DWORD caps;
|
||||
|
||||
fakeDirectDrawPaletteObject *palette;
|
||||
|
||||
void *surface;
|
||||
DWORD lPitch;
|
||||
DWORD lXPitch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue