Commit ee6b0831 authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard

d3d9: Remove an unneeded conversion.

That parameter is already the correct type. Signed-off-by: 's avatarChip Davis <cdavis@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e463fa29
......@@ -1571,7 +1571,7 @@ static HRESULT d3d9_device_create_surface(struct d3d9_device *device, unsigned i
if (user_mem)
wined3d_texture_update_desc(texture, width, height, desc.format,
wined3d_multisample_type_from_d3d(multisample_type), multisample_quality, user_mem, 0);
multisample_type, multisample_quality, user_mem, 0);
wined3d_texture_decref(texture);
......
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