Skip to content

Commit dbd5272

Browse files
committed
hello_xr: Use correct lostEventCount field for log
Signed-off-by: utzcoz <[email protected]>
1 parent bdcf056 commit dbd5272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/hello_xr/openxr_program.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ struct OpenXrProgram : IOpenXrProgram {
680680
if (xr == XR_SUCCESS) {
681681
if (baseHeader->type == XR_TYPE_EVENT_DATA_EVENTS_LOST) {
682682
const XrEventDataEventsLost* const eventsLost = reinterpret_cast<const XrEventDataEventsLost*>(baseHeader);
683-
Log::Write(Log::Level::Warning, Fmt("%d events lost", eventsLost));
683+
Log::Write(Log::Level::Warning, Fmt("%d events lost", eventsLost->lostEventCount));
684684
}
685685

686686
return baseHeader;

0 commit comments

Comments
 (0)