OpenXR-SDK-Source icon indicating copy to clipboard operation
OpenXR-SDK-Source copied to clipboard

Typo in hello_xr writes memory address rather than actual lost event count

Open perkele1989 opened this issue 2 years ago • 1 comments

In openxr_program.cpp (for hello xr), the following line is flawed:

Log::Write(Log::Level::Warning, Fmt("%d events lost", eventsLost));

eventsLost is a pointer to a XrEventDataEventsLost, and should probably be replaced with eventsLost->lostEventCount ?

perkele1989 avatar Mar 29 '22 14:03 perkele1989

An issue (number 1681) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1681 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

rpavlik-bot avatar Mar 31 '22 18:03 rpavlik-bot