]> git.tdb.fi Git - libs/gl.git/blob - source/arb_texture_float.cpp
9f76b3fd67e4c210804f6194f608353102de23bb
[libs/gl.git] / source / arb_texture_float.cpp
1 #include "arb_texture_float.h"
2
3 namespace Msp {
4 namespace GL {
5
6 Extension::SupportLevel init_arb_texture_float()
7 {
8         if(is_version_at_least(3, 0))
9         {
10                 return Extension::CORE;
11         }
12         if(is_supported("GL_ARB_texture_float"))
13         {
14                 return Extension::EXTENSION;
15         }
16         return Extension::UNSUPPORTED;
17 }
18
19 Extension ARB_texture_float("GL_ARB_texture_float", init_arb_texture_float);
20
21 } // namespace GL
22 } // namespace Msp