Chip Davis : d3d9: Remove an unneeded conversion.

Alexandre Julliard julliard at winehq.org
Wed Apr 8 15:48:32 CDT 2020


Module: wine
Branch: master
Commit: ee6b0831736e7426549b1713fb1bf23bca40e3d0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ee6b0831736e7426549b1713fb1bf23bca40e3d0

Author: Chip Davis <cdavis at codeweavers.com>
Date:   Wed Apr  8 19:18:08 2020 +0430

d3d9: Remove an unneeded conversion.

That parameter is already the correct type.

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d9/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index ad32146947..61aee971a1 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -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);
 




More information about the wine-cvs mailing list