Henri Verbeet : wined3d: Correctly check if the destination format is FBO attachable in fbo_blit_supported ().
Module: wine Branch: master Commit: b372faec3c2d91325e41969cb4252d84792422a6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b372faec3c2d91325e41969cb4... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Apr 4 17:46:05 2011 +0200 wined3d: Correctly check if the destination format is FBO attachable in fbo_blit_supported(). Like ca381b610c50e3a44713f536ced61e30e0e4f152, this was introduced by f1ca14cb5ba259b8eab9bccbb9a4813027c3beb8. --- dlls/wined3d/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index bbbdd49..88210bb 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -4983,7 +4983,7 @@ static BOOL fbo_blit_supported(const struct wined3d_gl_info *gl_info, enum blit_ return FALSE; if (!((src_format->flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (src_usage & WINED3DUSAGE_RENDERTARGET)) - && ((dst_format->flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET))) + || !((dst_format->flags & WINED3DFMT_FLAG_FBO_ATTACHABLE) || (dst_usage & WINED3DUSAGE_RENDERTARGET))) return FALSE; if (!(src_format->id == dst_format->id
participants (1)
-
Alexandre Julliard