KhronosGroup / KhronosGroup/OpenXR-Hpp

`PlaneDetectorEXT::getPlaneDetectionStateEXT` still broken

Open
#46 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
50
Forks
23
PR merge metrics
No merged PRs in 30d

Description

The enhanced function contains this code

```
XrPlaneDetectionStateEXT state_tmp;
PlaneDetectionStateEXT state;
Result result = static_cast(
d.xrGetPlaneDetectionStateEXT(this->get(), state_tmp));
```

But the dispatcher call here expects a `XrPlaneDetectionStateEXT*` as it's second argument, not a `XrPlaneDetectionStateEXT`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at PlaneDetectorEXT::getPlaneDetectionStateEXT and compare its dispatcher call with the xrGetPlaneDetectionStateEXT declaration, which expects a pointer for the state argument. Update the call so it matches that interface, then confirm the C++ projection builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.