Rust loader/bindings for OpenGL 3.3
build.rs
stuff, just a plain file.glGetError
and GL_NO_ERROR
AtomicPtr
values, so loading and
usage is thread safe (GL itself still isn't thread safe though!).debug_error_checks
: Automatic error checking immediately after each call
when debug_assertions
are on. Logs the arguments you passed to the call
the triggered the error as well as as the error that was produced. Very
useful!debug_trace_messages
: Automatic printing of each function name called just
before calling it when debug_assertions
are on. Extremely noisy, probably
leave it off, but it can help quickly identify where a segfault is coming
from so it's available.compatibility_profile
: Load the compatibility profile functions.