d3d10: Mark annotation variable as annotation.

This commit is contained in:
Rico Schüller 2009-10-27 20:14:27 +01:00 committed by Alexandre Julliard
parent ef07411ebf
commit b188cb132c
1 changed files with 3 additions and 4 deletions

View File

@ -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;
}