mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Fill in some DirectDrawPalette HAL fields.
This commit is contained in:
parent
3b7d0928f0
commit
04b7b7a86d
2 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
/* DirectDraw - IDirectPalette base interface
|
/* DirectDraw - IDirectPalette base interface
|
||||||
*
|
*
|
||||||
* Copyright 1997-2000 Marcus Meissner
|
* Copyright 1997-2000 Marcus Meissner
|
||||||
* Copyright 2000 TransGaming Technologies Inc.
|
* Copyright 2000-2001 TransGaming Technologies Inc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -38,6 +38,12 @@ HRESULT Main_DirectDrawPalette_Construct(IDirectDrawPaletteImpl* This,
|
||||||
This->flags = dwFlags;
|
This->flags = dwFlags;
|
||||||
This->palNumEntries = Main_DirectDrawPalette_Size(dwFlags);
|
This->palNumEntries = Main_DirectDrawPalette_Size(dwFlags);
|
||||||
This->ref = 1;
|
This->ref = 1;
|
||||||
|
|
||||||
|
This->local.lpGbl = &This->global;
|
||||||
|
This->local.lpDD_lcl = &pDD->local;
|
||||||
|
This->global.lpDD_lcl = &pDD->local;
|
||||||
|
This->global.dwProcessId = GetCurrentProcessId();
|
||||||
|
|
||||||
This->final_release = Main_DirectDrawPalette_final_release;
|
This->final_release = Main_DirectDrawPalette_final_release;
|
||||||
ICOM_INIT_INTERFACE(This, IDirectDrawPalette, DDRAW_Main_Palette_VTable);
|
ICOM_INIT_INTERFACE(This, IDirectDrawPalette, DDRAW_Main_Palette_VTable);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2000 TransGaming Technologies Inc. */
|
/* Copyright 2000-2001 TransGaming Technologies Inc. */
|
||||||
|
|
||||||
#ifndef WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
|
#ifndef WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
|
||||||
#define WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
|
#define WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
|
||||||
|
|
Loading…
Reference in a new issue