Re: dlls/wined3d/state.c -- fix error handling