OSVR / OSVR-Unity

Package for authoring OSVR experiences with Unity.
Apache License 2.0
98 stars 38 forks source link

Updated Marshalled data types #199

Open DuFF14 opened 7 years ago

DuFF14 commented 7 years ago

Changed int to Byte when passing Eye indices to Unity Rendering Plugin. Avoids a divide by zero error when a bug results in GetViewport returning a zeroed viewport. This is a workaround to avoid a crash, not a fix for what may be a stack corruption bug.

DuFF14 commented 7 years ago

See: https://github.com/OSVR/OSVR-Unity-Rendering/pull/32