From cdc39c0db24ca6b8c725a1c4feaee1e2df89e436 Mon Sep 17 00:00:00 2001 From: aleiby Date: Fri, 1 Feb 2019 17:06:22 -0800 Subject: [PATCH 1/2] Fixed typo --- headers/openvr_api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/openvr_api.cs b/headers/openvr_api.cs index a3986f19..8926d29c 100644 --- a/headers/openvr_api.cs +++ b/headers/openvr_api.cs @@ -6059,7 +6059,7 @@ public void Clear() m_pVRScreenshots = null; m_pVRTrackedCamera = null; m_pVRInput = null; - m_pIOBuffer = null; + m_pVRIOBuffer = null; m_pVRSpatialAnchors = null; m_pVRNotifications = null; } From d318e1a7c8b231dd2c62bc59bc5ae69a03ae333c Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 22 Feb 2019 11:58:57 -0500 Subject: [PATCH 2/2] Remove semicolon that upsets clang's -Wextra-semi Also replace a smart quote encoded in ISO-8859-1 with a regular ANSI quote, to make github not complain that editing this file will transcode it to UTF-8. No behavior change. --- headers/openvr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/openvr.h b/headers/openvr.h index 8d405aa3..1214ca93 100644 --- a/headers/openvr.h +++ b/headers/openvr.h @@ -1384,7 +1384,7 @@ enum EVRSkeletalMotionRange enum EVRSkeletalTrackingLevel { - // body part location can’t be directly determined by the device. Any skeletal pose provided by + // body part location can't be directly determined by the device. Any skeletal pose provided by // the device is estimated by assuming the position required to active buttons, triggers, joysticks, // or other input sensors. // E.g. Vive Controller, Gamepad @@ -3178,7 +3178,7 @@ struct NotificationBitmap_t , m_nHeight( 0 ) , m_nBytesPerPixel( 0 ) { - }; + } void *m_pImageData; int32_t m_nWidth;