From b188cb132c6a245492f04c383e227708ce25e5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rico=20Sch=C3=BCller?= Date: Tue, 27 Oct 2009 20:14:27 +0100 Subject: [PATCH] d3d10: Mark annotation variable as annotation. --- dlls/d3d10/effect.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 372982b85f2..db66806fe46 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -830,6 +830,9 @@ static HRESULT parse_fx10_annotation(struct d3d10_effect_variable *a, const char skip_dword_unknown(ptr, 1); + /* mark the variable as annotation */ + a->flag = D3D10_EFFECT_VARIABLE_ANNOTATION; + return S_OK; } @@ -2345,10 +2348,6 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_variable_GetDesc(ID3D10EffectVaria { desc->ExplicitBindPoint = This->buffer_offset; } - else if(This->flag) - { - FIXME("Unhandled flag %#x!\n", This->flag); - } return S_OK; }