[3/4] wined3d: reject ffp blits if the destination is not fbo attachable

Henri Verbeet hverbeet at gmail.com
Wed Oct 12 04:32:07 CDT 2011


On 11 October 2011 22:30, Stefan Dösinger <stefan at codeweavers.com> wrote:
> +    if (wined3d_settings.offscreen_rendering_mode == ORM_FBO)
> +    {
> +        if (!((dst_format->flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET)))
> +            return FALSE;
> +    }
> +    else if (!(dst_usage & WINED3DUSAGE_RENDERTARGET))
> +    {
> +        return FALSE;
> +    }
Same consideration as for 2/4. Guess I should have caught this when
bccfd7cc introduced it.



More information about the wine-devel mailing list