Commit 123a3f44 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: WINED3DSURFACE_DESC::MultiSampleType is not a DWORD.

parent 3d96f97e
...@@ -266,6 +266,7 @@ static HRESULT WINAPI reset_enum_callback(IWineD3DResource *resource, void *data ...@@ -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 ...@@ -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;
......
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