OSVR-Unity icon indicating copy to clipboard operation
OSVR-Unity copied to clipboard

Updated Marshalled data types

Open DuFF14 opened this issue 9 years ago • 1 comments

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 avatar Dec 12 '16 19:12 DuFF14

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

DuFF14 avatar Dec 12 '16 19:12 DuFF14