d3dx9: Fix ID3DXBaseEffect::GetFloat().

This commit is contained in:
Rico Schüller 2011-07-21 08:47:38 +02:00 committed by Alexandre Julliard
parent 6a2be190cd
commit e9dc6c34a9

View file

@ -1766,7 +1766,7 @@ static HRESULT WINAPI ID3DXBaseEffectImpl_GetFloat(ID3DXBaseEffect *iface, D3DXH
if (f && param && !param->element_count && param->class == D3DXPC_SCALAR)
{
f = param->data;
*f = get_float(param->type, (DWORD *)param->data);
TRACE("Returning %f\n", *f);
return D3D_OK;
}