mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3dx9: Fix ID3DXBaseEffect::GetFloat().
This commit is contained in:
parent
6a2be190cd
commit
e9dc6c34a9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue