d3dx9_36: Cast D3DPARAMETER_TYPE * to DWORD *.
This commit is contained in:
parent
87c7c961f2
commit
e1a845c213
|
@ -4398,10 +4398,10 @@ static HRESULT d3dx9_parse_effect_typedef(struct d3dx_parameter *param, const ch
|
|||
|
||||
if (!parent)
|
||||
{
|
||||
read_dword(ptr, ¶m->type);
|
||||
read_dword(ptr, (DWORD *)¶m->type);
|
||||
TRACE("Type: %s\n", debug_d3dxparameter_type(param->type));
|
||||
|
||||
read_dword(ptr, ¶m->class);
|
||||
read_dword(ptr, (DWORD *)¶m->class);
|
||||
TRACE("Class: %s\n", debug_d3dxparameter_class(param->class));
|
||||
|
||||
read_dword(ptr, &offset);
|
||||
|
|
Loading…
Reference in New Issue