6 Extension::SupportLevel init_ext_bgra()
8 if(is_version_at_least(1, 2))
10 return Extension::CORE;
12 if(is_supported("GL_EXT_bgra"))
14 return Extension::EXTENSION;
16 return Extension::UNSUPPORTED;
19 Extension EXT_bgra("GL_EXT_bgra", init_ext_bgra);