wined3d: Restore the fragment replacement prog after depth_blt.
commit8b38533f691154b889f92ab8722332c3cce47ac7
authorStefan Dösinger <stefan@codeweavers.com>
Sat, 1 Nov 2008 19:11:41 +0000 (1 20:11 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 3 Nov 2008 12:34:13 +0000 (3 13:34 +0100)
tree7f509bad7bd413aa3b455d337f398955fcc57d57
parent3d6313c9ce6bb1ebe10f61223ba42ddf99075370
wined3d: Restore the fragment replacement prog after depth_blt.

The current code properly enabled/disabled GL_ARB_fragment_program
after a depth blit, but it did not restore the bound fragment program
properly. This leads to problems if a depth blit was done between two
draws without any change of the fragment processing settings.
dlls/wined3d/arb_program_shader.c