Stefan Dösinger : wined3d: Properly update last_was_pshader.