Henri Verbeet : wined3d: Allow FBO blits again between surfaces with fixups if they have the same format .
Alexandre Julliard
julliard at winehq.org
Tue Oct 19 13:03:47 CDT 2010
Module: wine
Branch: master
Commit: ca381b610c50e3a44713f536ced61e30e0e4f152
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca381b610c50e3a44713f536ced61e30e0e4f152
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Oct 19 11:59:59 2010 +0200
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 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 7bc2a5d..b51fecd 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))))
More information about the wine-cvs
mailing list