d3dx9_36: Fix the return value in error cases in d3dx9_parse_resource.

This commit is contained in:
Gerald Pfeifer 2011-06-15 13:01:22 -06:00 committed by Alexandre Julliard
parent e532c55995
commit c69331c84a
1 changed files with 2 additions and 0 deletions

View File

@ -4733,12 +4733,14 @@ static HRESULT d3dx9_parse_resource(struct ID3DXBaseEffectImpl *base, const char
default:
FIXME("Unhandled type %s\n", debug_d3dxparameter_type(param->type));
hr=E_FAIL;
break;
}
break;
default:
FIXME("Unknown usage %x\n", usage);
hr=E_FAIL;
break;
}