X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=ca74d38abd3d2a2927420589f21af83ac21ea5b6;hb=c39bb707ff8678d0675538994dc05182e61da193;hp=31825c028e47f7400cba36b7c1a9eb19690c9215;hpb=8f2713a3f1501e90016bb8069ecd08dde2f90e56;p=libs%2Fgl.git diff --git a/source/glsl/features.h b/source/glsl/features.h index 31825c02..ca74d38a 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -1,7 +1,7 @@ #ifndef MSP_GL_SL_FEATURES_H_ #define MSP_GL_SL_FEATURES_H_ -#include +#include namespace Msp { namespace GL { @@ -9,7 +9,7 @@ namespace SL { struct Features { - GLApi gl_api; + GraphicsApi target_api; Version glsl_version; bool arb_enhanced_layouts; bool arb_explicit_attrib_location; @@ -25,8 +25,8 @@ struct Features Features(); - static Features from_context(); - static Features all(); + static Features from_version(const Version &); + static Features latest(); }; } // namespace SL