[PATCH v2 2/4] wined3d: Default to multisample antialiasing disabled.

Henri Verbeet hverbeet at gmail.com
Thu Apr 16 09:50:47 CDT 2020


On Wed, 15 Apr 2020 at 19:24, Chip Davis <cdavis at codeweavers.com> wrote:
> diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
> index e965203950e..46a96243f04 100644
> --- a/dlls/wined3d/surface.c
> +++ b/dlls/wined3d/surface.c
> @@ -130,6 +130,11 @@ static void texture2d_depth_blt_fbo(const struct wined3d_device *device, struct
>          context_invalidate_state(context, STATE_RENDER(WINED3D_RS_STENCILWRITEMASK));
>      }
>
> +    if (gl_info->supported[ARB_MULTISAMPLE])
> +    {
> +        gl_info->gl_ops.gl.p_glEnable(GL_MULTISAMPLE);
> +        context_invalidate_state(context, STATE_RENDER(WINED3D_RS_MULTISAMPLEANTIALIAS));
> +    }
Here and below. If that's required, it was required before changing
the default state as well, and deserves its own commit.



More information about the wine-devel mailing list