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:
Henri Verbeet 2010-10-19 11:59:59 +02:00 committed by Alexandre Julliard
parent eaa57c5b7b
commit ca381b610c
1 changed files with 0 additions and 4 deletions

View File

@ -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))))