wined3d: Allow FBO blits again between surfaces with fixups if they have the same format.
For some reason f1ca14cb5b
disabled this.
This commit is contained in:
parent
eaa57c5b7b
commit
ca381b610c
|
@ -4979,10 +4979,6 @@ static BOOL fbo_blit_supported(const struct wined3d_gl_info *gl_info, enum blit_
|
||||||
&& ((dst_format->Flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET)))
|
&& ((dst_format->Flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!is_identity_fixup(src_format->color_fixup)
|
|
||||||
|| !is_identity_fixup(dst_format->color_fixup))
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
if (!(src_format->id == dst_format->id
|
if (!(src_format->id == dst_format->id
|
||||||
|| (is_identity_fixup(src_format->color_fixup)
|
|| (is_identity_fixup(src_format->color_fixup)
|
||||||
&& is_identity_fixup(dst_format->color_fixup))))
|
&& is_identity_fixup(dst_format->color_fixup))))
|
||||||
|
|
Loading…
Reference in New Issue