That parameter is already the correct type.
Signed-off-by: Chip Davis cdavis@codeweavers.com --- dlls/d3d9/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index ad32146947b..d5621dfe80b 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -1570,8 +1570,8 @@ static HRESULT d3d9_device_create_surface(struct d3d9_device *device, unsigned i IDirect3DSurface9_AddRef(*surface);
if (user_mem) - wined3d_texture_update_desc(texture, width, height, desc.format, - wined3d_multisample_type_from_d3d(multisample_type), multisample_quality, user_mem, 0); + wined3d_texture_update_desc(texture, width, height, desc.format, multisample_type, multisample_quality, + user_mem, 0);
wined3d_texture_decref(texture);