Commit 425eab4c authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Use the ARBfp ffp pipeline only if ARBfp is supported.

parent 0ca4ad0d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment