wined3d: Do not check for ARB_fragment_program in arbfp_blit_supported().

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

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-04-27 14:52:47 +02:00 committed by Alexandre Julliard
parent 1851199065
commit 3d746a6a43
1 changed files with 0 additions and 3 deletions

View File

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