Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

OpenVRDisplay::new should be unsafe #21

Open
nox opened this issue Mar 16, 2018 · 0 comments
Open

OpenVRDisplay::new should be unsafe #21

nox opened this issue Mar 16, 2018 · 0 comments

Comments

@nox
Copy link
Contributor

nox commented Mar 16, 2018

OpenVRDisplay::new builds a new OpenVRDisplay out of raw pointers, and then does fancy unsafe things with these raw pointers, which means OpenVRDisplay::new itself should be unsafe.

https://github.com/MortimerGoro/rust-webvr/blob/3bef6ceee33c13ac6b7b6bef4c0eaae13eabf3ea/rust-webvr/src/api/openvr/display.rs#L38-L60

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant