vrclient: Pass write function as parameter to handle_method*.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-27 15:18:31 +02:00
parent 47ae1fde89
commit 5fa947bcc1
55 changed files with 290 additions and 290 deletions

View file

@ -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;
}