wined3d: Only the ARBfp fragement pipeline reads emulated clip coords.

This commit is contained in:
Stefan Dösinger 2011-09-01 18:32:37 +02:00 committed by Alexandre Julliard
parent f708da1c1c
commit eb79a26493
1 changed files with 1 additions and 1 deletions

View File

@ -4508,7 +4508,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
else
{
args->ps_signature = ~0;
if (!device->vs_clipping)
if (!device->vs_clipping && device->adapter->fragment_pipe == &arbfp_fragment_pipeline)
{
args->clip.boolclip.clip_texcoord = ffp_clip_emul(state) ? gl_info->limits.texture_stages : 0;
}