OSVR-Unity
OSVR-Unity copied to clipboard
Updated Marshalled data types
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.
See: https://github.com/OSVR/OSVR-Unity-Rendering/pull/32