mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
d3dxof: Turn some TRACEs into WARNs in case of parsing error.
This commit is contained in:
parent
7617cc4bcc
commit
cafb20bb5c
1 changed files with 4 additions and 4 deletions
|
@ -303,7 +303,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
|
|||
{
|
||||
if (!parse_template(&object->buf))
|
||||
{
|
||||
TRACE("Template is not correct\n");
|
||||
WARN("Template is not correct\n");
|
||||
hr = DXFILEERR_BADVALUE;
|
||||
goto error;
|
||||
}
|
||||
|
@ -418,7 +418,7 @@ static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LP
|
|||
{
|
||||
if (!parse_template(&buf))
|
||||
{
|
||||
TRACE("Template is not correct\n");
|
||||
WARN("Template is not correct\n");
|
||||
return DXFILEERR_BADVALUE;
|
||||
}
|
||||
else
|
||||
|
@ -1051,7 +1051,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
|
|||
{
|
||||
if (!parse_template(&This->buf))
|
||||
{
|
||||
TRACE("Template is not correct\n");
|
||||
WARN("Template is not correct\n");
|
||||
hr = DXFILEERR_BADVALUE;
|
||||
goto error;
|
||||
}
|
||||
|
@ -1099,7 +1099,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
|
|||
|
||||
if (!parse_object(&This->buf))
|
||||
{
|
||||
TRACE("Object is not correct\n");
|
||||
WARN("Object is not correct\n");
|
||||
hr = DXFILEERR_PARSEERROR;
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue