d3d9: WINED3DSURFACE_DESC::MultiSampleType is not a DWORD.

This commit is contained in:
Stefan Dösinger 2008-11-03 00:37:27 +01:00 committed by Alexandre Julliard
parent 3d96f97ee1
commit 123a3f44d9
1 changed files with 2 additions and 1 deletions

View File

@ -266,6 +266,7 @@ static HRESULT WINAPI reset_enum_callback(IWineD3DResource *resource, void *data
WINED3DINDEXBUFFER_DESC index_desc; WINED3DINDEXBUFFER_DESC index_desc;
WINED3DVERTEXBUFFER_DESC vertex_desc; WINED3DVERTEXBUFFER_DESC vertex_desc;
WINED3DFORMAT dummy_format; WINED3DFORMAT dummy_format;
WINED3DMULTISAMPLE_TYPE dummy_multisampletype;
DWORD dummy_dword; DWORD dummy_dword;
WINED3DPOOL pool = WINED3DPOOL_SCRATCH; /* a harmless pool */ WINED3DPOOL pool = WINED3DPOOL_SCRATCH; /* a harmless pool */
IUnknown *parent; IUnknown *parent;
@ -278,7 +279,7 @@ static HRESULT WINAPI reset_enum_callback(IWineD3DResource *resource, void *data
surface_desc.Usage = &dummy_dword; surface_desc.Usage = &dummy_dword;
surface_desc.Pool = &pool; surface_desc.Pool = &pool;
surface_desc.Size = &dummy_dword; surface_desc.Size = &dummy_dword;
surface_desc.MultiSampleType = &dummy_dword; surface_desc.MultiSampleType = &dummy_multisampletype;
surface_desc.MultiSampleQuality = &dummy_dword; surface_desc.MultiSampleQuality = &dummy_dword;
surface_desc.Width = &dummy_dword; surface_desc.Width = &dummy_dword;
surface_desc.Height = &dummy_dword; surface_desc.Height = &dummy_dword;