Commit 44f5ca7f authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

wined3d: Ignore multisample quality for MULTISAMPLE_NONE in context_find_fbo_entry().

parent fcfbb00c
......@@ -599,7 +599,8 @@ static struct fbo_entry *context_find_fbo_entry(struct wined3d_context *context,
depth_stencil = &ds_null;
}
else if (ds_texture->resource.multisample_type != rt_texture->resource.multisample_type
|| ds_texture->resource.multisample_quality != rt_texture->resource.multisample_quality)
|| (ds_texture->resource.multisample_type
&& ds_texture->resource.multisample_quality != rt_texture->resource.multisample_quality))
{
WARN("Color multisample type %u and quality %u, depth stencil has %u and %u, disabling ds buffer.\n",
rt_texture->resource.multisample_type, rt_texture->resource.multisample_quality,
......
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