namespace GL {
namespace SL {
-Features::Features():
- target_api(OPENGL),
- arb_enhanced_layouts(false),
- arb_explicit_attrib_location(false),
- arb_explicit_uniform_location(false),
- arb_gpu_shader5(false),
- arb_separate_shader_objects(false),
- arb_uniform_buffer_object(false),
- ext_gpu_shader4(false),
- ext_texture_array(false),
- constant_id_range(0x80000000U),
- uniform_binding_range(84),
- texture_binding_range(96)
-{ }
-
-Features Features::from_version(const Version &ver)
+Features Features::from_opengl_version(const Version &ver)
{
Features features;
features.target_api = OPENGL;
return features;
}
-Features Features::latest()
+Features Features::opengl_latest()
{
- return from_version(Version(4, 60));
+ return from_opengl_version(Version(4, 60));
}
} // namespace SL