KhronosGroup/OpenXR-Hpp

Incorrect parsing of the version field

jherico opened this issue · 1 comments

OPENXR_HPP_CONSTEXPR uint32_t major() const noexcept

The current version code is assuming 32 bits for major, then 16 bits for minor and 16 bits for patch. However, this is incorrect... it should be 16 bits for major, 16 bits for minor and 32 bits for patch.

https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#api-version-numbers-and-semantics

oops, good catch. I've merged #16