From ca381b610c50e3a44713f536ced61e30e0e4f152 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 19 Oct 2010 11:59:59 +0200 Subject: [PATCH] wined3d: Allow FBO blits again between surfaces with fixups if they have the same format. For some reason f1ca14cb5ba259b8eab9bccbb9a4813027c3beb8 disabled this. --- dlls/wined3d/surface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 7bc2a5dfb84..b51fecde481 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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))) 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 || (is_identity_fixup(src_format->color_fixup) && is_identity_fixup(dst_format->color_fixup))))