wined3d: Use the ARBfp ffp pipeline only if ARBfp is supported.
This commit is contained in:
parent
0ca4ad0d2f
commit
425eab4cf9
|
@ -2252,7 +2252,7 @@ static const struct fragment_pipeline *select_fragment_implementation(const stru
|
|||
{
|
||||
if (shader_backend_ops == &glsl_shader_backend)
|
||||
return &glsl_fragment_pipe;
|
||||
if (shader_backend_ops == &arb_program_shader_backend)
|
||||
if (shader_backend_ops == &arb_program_shader_backend && gl_info->supported[ARB_FRAGMENT_PROGRAM])
|
||||
return &arbfp_fragment_pipeline;
|
||||
if (gl_info->supported[ATI_FRAGMENT_SHADER])
|
||||
return &atifs_fragment_pipeline;
|
||||
|
|
Loading…
Reference in New Issue