]> git.tdb.fi Git - libs/gl.git/blob - source/ext_bgra.cpp
Notify Renderables about the start and end of a frame
[libs/gl.git] / source / ext_bgra.cpp
1 #include "ext_bgra.h"
2
3 namespace Msp {
4 namespace GL {
5
6 Extension::SupportLevel init_ext_bgra()
7 {
8         if(is_version_at_least(1, 2))
9         {
10                 return Extension::CORE;
11         }
12         if(is_supported("GL_EXT_bgra"))
13         {
14                 return Extension::EXTENSION;
15         }
16         return Extension::UNSUPPORTED;
17 }
18
19 Extension EXT_bgra("GL_EXT_bgra", init_ext_bgra);
20
21 } // namespace GL
22 } // namespace Msp