Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opening of renderdoc lib #2930

Merged
merged 3 commits into from
Aug 1, 2022
Merged

Fix opening of renderdoc lib #2930

merged 3 commits into from
Aug 1, 2022

Conversation

ABuffSeagull
Copy link
Contributor

@ABuffSeagull ABuffSeagull commented Jul 31, 2022

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections
Same issue in ebkalderon/renderdoc-rs#128
Fixes #2793

Description
Renderdoc needs to not be opened by us, but instead open the existing copy.
This currently requires OS specific flags for opening and libloading doesn't have full API coverage.

Testing
The examples didn't work before, now they work fine.
Although I was just able to test Linux only, so anyone who wants to make a quick test with RenderDoc on Windows and Mac would be great.

Renderdoc needs to not be opened by us, but instead open the existing copy.
Unfortunately this requires OS specific flags for opening, plus `libloading`
doesn't have full API coverage currently.
@ABuffSeagull ABuffSeagull marked this pull request as ready for review July 31, 2022 20:55
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cwfitzgerald cwfitzgerald enabled auto-merge (squash) August 1, 2022 01:31
@cwfitzgerald cwfitzgerald merged commit 4cbf8cf into gfx-rs:master Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading Renderdoc Wrong
2 participants