Commit 152c9637 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Actually use the parse_fx10() return value.

parent 1b4e61c0
...@@ -410,15 +410,12 @@ static HRESULT fx10_chunk_handler(const char *data, void *ctx) ...@@ -410,15 +410,12 @@ static HRESULT fx10_chunk_handler(const char *data, void *ctx)
switch(tag) switch(tag)
{ {
case TAG_FX10: case TAG_FX10:
parse_fx10(e, ptr, chunk_size); return parse_fx10(e, ptr, chunk_size);
break;
default: default:
FIXME("Unhandled chunk %s\n", tag_str); FIXME("Unhandled chunk %s\n", tag_str);
break; return S_OK;
} }
return S_OK;
} }
HRESULT d3d10_effect_parse(struct d3d10_effect *This, const void *data, SIZE_T data_size) HRESULT d3d10_effect_parse(struct d3d10_effect *This, const void *data, SIZE_T data_size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment