[][src]Constant beryllium::CONTEXT_FORWARD_COMPATIBLE_FLAG

pub const CONTEXT_FORWARD_COMPATIBLE_FLAG: i32

A flag for use with GLattr::ContextFlags.

This flag maps to GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the GLX_ARB_create_context extension for X11 and WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB in the WGL_ARB_create_context extension for Windows. This flag is currently ignored on other targets that don't support equivalent functionality. This flag is intended to put the GL into a "forward compatible" mode, which means that no deprecated functionality will be supported, possibly at a gain in performance, and only applies to GL 3.0 and later contexts.