wined3d: Don't disable ARBfp if the replacement pipeline is used.

If the replacement pipeline is used, ARBfp is always on. Disabling it
can break shaders or the replacement pipeline, because the shader and
ffp code assumes the extension is on.
This commit is contained in:
Stefan Dösinger 2009-06-27 13:14:28 +02:00 committed by Alexandre Julliard
parent 1f8761219b
commit 9d63585352
1 changed files with 1 additions and 1 deletions

View File

@ -4180,7 +4180,7 @@ static void shader_arb_deselect_depth_blt(IWineD3DDevice *iface) {
checkGLcall("glEnable(GL_FRAGMENT_PROGRAM_ARB);");
TRACE("(%p) : Bound fragment program %u and enabled GL_FRAGMENT_PROGRAM_ARB\n", This, priv->current_fprogram_id);
} else {
} else if(!priv->use_arbfp_fixed_func) {
glDisable(GL_FRAGMENT_PROGRAM_ARB);
checkGLcall("glDisable(GL_FRAGMENT_PROGRAM_ARB)");
}