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

Recreate SwapChain before binding if the target FBO is invalid #3713

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

MortimerGoro
Copy link
Contributor

Fixes #3712

This is a speculative fix. The crash address is the same (0x10) if I force the FBOs to be invalid and not added to the vector. @Softvision-RemusDranca is trying to find STRs.

I tried to force the FBOs to be invalid for 50 times using a counter and the app is able to recover using the fix included in the PR.

@MortimerGoro MortimerGoro requested a review from bluemarvin July 22, 2020 10:22
@MortimerGoro MortimerGoro self-assigned this Jul 22, 2020
@MortimerGoro MortimerGoro force-pushed the oculus_bind_eye_crash branch from f17edab to c485cfe Compare July 22, 2020 10:23
@MortimerGoro MortimerGoro changed the title Recreate SwapChain before binding it the target FBO is invalid Recreate SwapChain before binding if the target FBO is invalid Jul 22, 2020
@MortimerGoro MortimerGoro force-pushed the oculus_bind_eye_crash branch from c485cfe to 59a64e6 Compare July 22, 2020 10:28
@bluemarvin bluemarvin merged commit b9666ce into main Jul 22, 2020
@bluemarvin bluemarvin deleted the oculus_bind_eye_crash branch July 22, 2020 18:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash Report [@ crow::DeviceDelegateOculusVR::BindEye ]
2 participants