mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 22:48:11 +01:00
vrclient: Pass write function as parameter to handle_method*.
CW-Bug-Id: #22729
This commit is contained in:
parent
47ae1fde89
commit
5fa947bcc1
55 changed files with 290 additions and 290 deletions
|
|
@ -314,11 +314,11 @@ bool cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(void *linux_side, VROverl
|
|||
{
|
||||
bool _ret;
|
||||
VREvent_t lin;
|
||||
if(pEvent)
|
||||
if (pEvent)
|
||||
struct_VREvent_t_1715_win_to_lin(pEvent, &lin);
|
||||
uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin) : 0;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, lin_uncbVREvent);
|
||||
if(pEvent)
|
||||
if (pEvent)
|
||||
struct_VREvent_t_1715_lin_to_win(&lin, pEvent, uncbVREvent);
|
||||
return _ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue