1

Closed

wrong field types at struct OVRTypes.SessionStatus

description

The field types should be bool, not byte.
Closed May 4, 2016 at 2:46 PM by MortInfinite
Unable to redefine type defined by Oculus SDK, without causing performance additional overhead.

comments

MortInfinite wrote May 4, 2016 at 2:43 PM

The ovrBool data type is defined by the Oculus SDK. It is actually a byte, which means that I can't marshal it into a bool, as the types are of different size.

Where ovrBool is returned from the Oculus SDK, I have replaced it with a bool data type, but in structures directly passed to the Oculus SDK, it is not possible to replace the ovrBool with a bool, without resulting in an additional performance overhead for every call.

wrote May 4, 2016 at 2:46 PM