wined3d: Check for ARB_fragment_program in arbfp_blit_supported.

This commit is contained in:
Roderick Colenbrander 2011-03-22 19:02:27 +00:00 committed by Alexandre Julliard
parent 87429c72f6
commit b2132202c7
1 changed files with 3 additions and 0 deletions

View File

@ -7128,6 +7128,9 @@ static BOOL arbfp_blit_supported(const struct wined3d_gl_info *gl_info, enum bli
{
enum complex_fixup src_fixup;
if (!gl_info->supported[ARB_FRAGMENT_PROGRAM])
return FALSE;
if (blit_op != BLIT_OP_BLIT)
{
TRACE("Unsupported blit_op=%d\n", blit_op);