Paul Gofman : d3dx9: Do not set active pass if BeginPass() failed.