mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-14 04:25:35 +01:00
ref: null: replace same struct type memcpys by assignments
This commit is contained in:
parent
fb7854f1ef
commit
9ab0f04ba5
@ -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…
x
Reference in New Issue
Block a user