Alexander Dorofeyev : wined3d: LEAVE_GL when exiting with error in tesselate_rectpatch.