https://bugs.winehq.org/show_bug.cgi?id=42820
--- Comment #13 from Pekka Helenius fincer89@hotmail.com --- Created attachment 59510 --> https://bugs.winehq.org/attachment.cgi?id=59510 Rebased D3D11 Multisample patch for Wine Staging 2.18
Rebased patch for Wine 2.18 Staging as a tar.xz attachment. I have splitted it into three parts. You must apply the patch files *after* Staging patches.
I'm not the author of the patch code. The original code has been written by Józef Kucia.
--------------------------
The only change I did was adding several brackets to if statements in
/dlls/wined3d/texture.c (lines 464-499 in patch file "patch_multisample_wined3d-dll-staging218.patch")
@@ -2794,11 +2813,31 @@ static HRESULT texture_init(struct wined3d_texture *texture, const struct wined3
as the compiler refused to compile the code otherwise.
--------------------------
By my behalf, feel free to modify the code if necessary.