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:
parent
1851199065
commit
3d746a6a43
|
@ -7698,9 +7698,6 @@ static BOOL arbfp_blit_supported(enum wined3d_blit_op blit_op, const struct wine
|
||||||
enum complex_fixup src_fixup;
|
enum complex_fixup src_fixup;
|
||||||
BOOL decompress;
|
BOOL decompress;
|
||||||
|
|
||||||
if (!context->gl_info->supported[ARB_FRAGMENT_PROGRAM])
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
if (src_resource->type != WINED3D_RTYPE_TEXTURE_2D)
|
if (src_resource->type != WINED3D_RTYPE_TEXTURE_2D)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue