X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.cpp;h=eff7dd8d7e1869547e70d04627607c91004db8bf;hb=241cf36a6d7735706804bb3c517529bbe078f1ee;hp=a66eefc5ad18bb6271a9086b245697bb8b6632d0;hpb=e6077f9f25b794c174e1017c2c0763e77a6fddda;p=libs%2Fgl.git diff --git a/source/glsl/features.cpp b/source/glsl/features.cpp index a66eefc5..eff7dd8d 100644 --- a/source/glsl/features.cpp +++ b/source/glsl/features.cpp @@ -4,22 +4,7 @@ namespace Msp { 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; @@ -39,9 +24,9 @@ Features Features::from_version(const Version &ver) return features; } -Features Features::latest() +Features Features::opengl_latest() { - return from_version(Version(4, 60)); + return from_opengl_version(Version(4, 60)); } } // namespace SL