d3d10: Mark annotation variable as annotation.
This commit is contained in:
parent
ef07411ebf
commit
b188cb132c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue