Commit 5de02034 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw: Get rid of the unused "initialized" field in IDirectDrawImpl.

parent 8173e6f5
...@@ -1674,18 +1674,9 @@ static HRESULT WINAPI ddraw2_GetAvailableVidMem(IDirectDraw2 *iface, ...@@ -1674,18 +1674,9 @@ static HRESULT WINAPI ddraw2_GetAvailableVidMem(IDirectDraw2 *iface,
*****************************************************************************/ *****************************************************************************/
static HRESULT WINAPI ddraw7_Initialize(IDirectDraw7 *iface, GUID *Guid) static HRESULT WINAPI ddraw7_Initialize(IDirectDraw7 *iface, GUID *Guid)
{ {
IDirectDrawImpl *This = impl_from_IDirectDraw7(iface); FIXME("iface %p, guid %s stub!\n", iface, debugstr_guid(Guid));
TRACE("iface %p, guid %s.\n", iface, debugstr_guid(Guid));
if(This->initialized)
{
return DDERR_ALREADYINITIALIZED; return DDERR_ALREADYINITIALIZED;
}
else
{
return DD_OK;
}
} }
static HRESULT WINAPI ddraw4_Initialize(IDirectDraw4 *iface, GUID *guid) static HRESULT WINAPI ddraw4_Initialize(IDirectDraw4 *iface, GUID *guid)
......
...@@ -88,9 +88,6 @@ struct IDirectDrawImpl ...@@ -88,9 +88,6 @@ struct IDirectDrawImpl
struct wined3d_device *wined3d_device; struct wined3d_device *wined3d_device;
BOOL d3d_initialized; BOOL d3d_initialized;
/* Misc ddraw fields */
BOOL initialized;
/* DirectDraw things, which are not handled by WineD3D */ /* DirectDraw things, which are not handled by WineD3D */
DWORD cooperative_level; DWORD cooperative_level;
......
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