ref: null: replace same struct type memcpys by assignments
This commit is contained in:
parent
fb7854f1ef
commit
9ab0f04ba5
1 changed files with 2 additions and 2 deletions
|
@ -588,8 +588,8 @@ int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs,
|
|||
return 0;
|
||||
|
||||
// fill in our callbacks
|
||||
memcpy( funcs, &gReffuncs, sizeof( ref_interface_t ));
|
||||
memcpy( &gEngfuncs, engfuncs, sizeof( ref_api_t ));
|
||||
*funcs = gReffuncs;
|
||||
gEngfuncs = *engfuncs;
|
||||
gpGlobals = globals;
|
||||
|
||||
return REF_API_VERSION;
|
||||
|
|
Loading…
Add table
Reference in a new issue