aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5afeef3..5b766f1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1574,9 +1574,8 @@ bool CMainApplication::HandleInput()
}
if (overlay_mode) {
- vr::VREvent_t vrEvent;
while( vr::VROverlay()->PollNextOverlayEvent(
- overlay_handle, &vrEvent, sizeof( vrEvent ) ) ) {
+ overlay_handle, &event, sizeof( event ) ) ) {
ProcessVREvent( event );
}
}