Skip to content

Change tostring

Rylie Pavlik requested to merge rpavlik/xrgears:change_tostring into master

While the xrResultToString/xrStructureTypeToString functions aren't technically deprecated, they're not recommended for use (we just didn't get around to removing them in time...) The preferred way is to use the "reflection" header to roll your own, which also avoids the requirement for an XrInstance parameter. I'm sure there are more efficient ways to implement this (in a single function instead of two) but I approximately replaced the xrResultToString function and its call.

Depends on !1 (merged) simply because I needed that to be confident this would build and run. The changes are independent if you are using an outdated loader.

Merge request reports