From 152c9637ac402acef194c85d3cd7111ed42699e1 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 3 Mar 2009 09:03:46 +0100 Subject: [PATCH] d3d10: Actually use the parse_fx10() return value. --- dlls/d3d10/effect.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 61b4a6fc6ac..bb7f7a87617 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -410,15 +410,12 @@ static HRESULT fx10_chunk_handler(const char *data, void *ctx) switch(tag) { case TAG_FX10: - parse_fx10(e, ptr, chunk_size); - break; + return parse_fx10(e, ptr, chunk_size); default: 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)