mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-26 01:04:34 +01:00
vrclient: Dereference more typedefs
This commit is contained in:
parent
f24e88d400
commit
2da8a7dd32
34 changed files with 192 additions and 192 deletions
|
|
@ -81,10 +81,10 @@ uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(void
|
|||
|
||||
bool cppIVRRenderModels_IVRRenderModels_004_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState)
|
||||
{
|
||||
VRControllerState_t lin;
|
||||
VRControllerState001_t lin;
|
||||
bool _ret;
|
||||
if(pControllerState)
|
||||
struct_VRControllerState_t_0918_win_to_lin(pControllerState, &lin);
|
||||
struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin);
|
||||
_ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState);
|
||||
return _ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue