Module: wine Branch: master Commit: b188cb132c6a245492f04c383e227708ce25e5b2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b188cb132c6a245492f04c383e...
Author: Rico Schüller kgbricola@web.de Date: Tue Oct 27 20:14:27 2009 +0100
d3d10: Mark annotation variable as annotation.
---
dlls/d3d10/effect.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 372982b..db66806 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; }