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

Error handling updates on OpenGL 3.0 renderer #1920

Merged
merged 3 commits into from Dec 7, 2021
Merged

Conversation

Copy link
Contributor

@ts-korhonen ts-korhonen commented Dec 7, 2021

Summary

General failure notice message box to OpenGL 3.0 renderer initialization failure.

Fail if reported OpenGL version is less than 3.0 or errors are generated after context is created. This should fix some crashes on unsupported hardware or faulty drivers.

Enable debug output only when logfile is defined as debug mode can include a performance hit.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

ts-korhonen added 3 commits Dec 7, 2021
Show message box on fail.
Enable debug output only when logfile is defined; performance optimization.
Fail if reported opengl version is less than 3.0 or errors are generated
after context is created; fixes some crashes on unsupported hardware or
faulty drivers.
@OBattler OBattler merged commit 7bbf660 into 86Box:master Dec 7, 2021
29 checks passed
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.

None yet

2 participants