fix rgb palette
This commit is contained in:
parent
2425033a2f
commit
9e9783f8d2
8 changed files with 70 additions and 98 deletions
|
@ -16,7 +16,7 @@ typedef struct IDirectDrawPaletteImpl
|
|||
ULONG ref;
|
||||
|
||||
int data_bgr[256];
|
||||
RGBQUAD* data_rgb;
|
||||
RGBQUAD data_rgb[256];
|
||||
DWORD flags;
|
||||
|
||||
} IDirectDrawPaletteImpl;
|
||||
|
|
|
@ -29,7 +29,6 @@ HRESULT dds_SetClipper(IDirectDrawSurfaceImpl* This, LPDIRECTDRAWCLIPPER lpClipp
|
|||
HRESULT dds_SetPalette(IDirectDrawSurfaceImpl* This, LPDIRECTDRAWPALETTE lpDDPalette);
|
||||
HRESULT dds_Unlock(IDirectDrawSurfaceImpl* This, LPVOID lpRect);
|
||||
void* dds_GetBuffer(IDirectDrawSurfaceImpl* This);
|
||||
HDC dds_GetHDC(IDirectDrawSurfaceImpl* This);
|
||||
HRESULT dd_CreateSurface(LPDDSURFACEDESC lpDDSurfaceDesc, LPDIRECTDRAWSURFACE FAR* lpDDSurface, IUnknown FAR* unkOuter);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue