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

OpenGL debug context for better error messages #7536

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

cpt-max
Copy link
Contributor

@cpt-max cpt-max commented Jul 21, 2021

DesktopGL uses glDebugMessageCallback for error reporting, but doesn't use a debug context, when building in debug mode.

From https://www.khronos.org/opengl/wiki/Debug_Output:
"In Debug Contexts, debug output starts enabled. In non-debug contexts, the OpenGL implementation may not generate messages even if debug output is enabled."

@mrhelmut
Copy link
Contributor

Thanks!

@mrhelmut mrhelmut merged commit f2ee0de into MonoGame:develop Jul 22, 2021
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.

2 participants