mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-03 13:14:29 +01:00
vrclient: Fix incorrect size paramter passed to lin_to_win.
CW-Bug-Id: #22729
This commit is contained in:
parent
7a5c155cf2
commit
56b828c365
36 changed files with 194 additions and 189 deletions
|
|
@ -185,8 +185,8 @@ bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *linux_side, VROverl
|
|||
bool _ret;
|
||||
if(pEvent)
|
||||
struct_VREvent_t_0918_win_to_lin(pEvent, &lin);
|
||||
uncbVREvent = uncbVREvent ? sizeof(lin) : 0;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, (uint32_t)uncbVREvent);
|
||||
uint32_t lin_uncbVREvent = uncbVREvent ? sizeof(lin) : 0;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, lin_uncbVREvent);
|
||||
if(pEvent)
|
||||
struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent);
|
||||
return _ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue