macro_rules! check_for_gl_error_even_in_release {
    ($gl: expr) => { ... };
    ($gl: expr, $context: literal) => { ... };
}
Expand description

Check for OpenGL error and report it using tracing::error.

WARNING: slow! Only use during setup!

use egui_glow::check_for_gl_error_even_in_release;
check_for_gl_error_even_in_release!(glow_context);
check_for_gl_error_even_in_release!(glow_context, "during painting");