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 crash in D3D12 when using LLGL::RenderingDebugger. #113

Merged
merged 1 commit into from
May 22, 2024
Merged

Fix crash in D3D12 when using LLGL::RenderingDebugger. #113

merged 1 commit into from
May 22, 2024

Conversation

gdianaty
Copy link
Contributor

@gdianaty gdianaty commented May 22, 2024

Caught this mistake (that I made) while tinkering tonight.

It's exactly what it says on the tin: when using LLGL::RenderingDebugger, LLGL will attempt to reflect into the shader. Without LLGL_D3D12_ENABLE_DXCOMPILER, a crash occurs.

Crash was due to a lack of graceful HRESULT handling.

@LukasBanana
Copy link
Owner

Looks good to me. Thanks for fixing this.

@LukasBanana LukasBanana added bug D3D Direct3D specific issue labels May 22, 2024
@LukasBanana LukasBanana merged commit b93d773 into LukasBanana:master May 22, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug D3D Direct3D specific issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants