[PATCH 5/6] wined3d: Do not check for ARB_fragment_program in arbfp_blit_supported().

Józef Kucia jkucia at codeweavers.com
Fri Apr 27 07:52:47 CDT 2018


ARBfp blitter isn't be created if ARB_fragment_program is not supported.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 dlls/wined3d/arb_program_shader.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 79883982652a..d4cc9d54d2ad 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -7698,9 +7698,6 @@ static BOOL arbfp_blit_supported(enum wined3d_blit_op blit_op, const struct wine
     enum complex_fixup src_fixup;
     BOOL decompress;
 
-    if (!context->gl_info->supported[ARB_FRAGMENT_PROGRAM])
-        return FALSE;
-
     if (src_resource->type != WINED3D_RTYPE_TEXTURE_2D)
         return FALSE;
 
-- 
2.16.1




More information about the wine-devel mailing list