Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GL backend: Prospective fix for panic when trying to create window wi…
…th AMD GL driver The srgb workaround from commit a0e827e appears to work with the AMD GL driver, without which the GL context creation works (as tested by the reporter). So instead of panicing, fall back to the glutin default with possibly an srgb framebuffer, when trying to create a GL context. If that also fails, provide a better error message than "called unwrap on an err". cc slint-ui#481
- Loading branch information