X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.cpp;fp=source%2Fglsl%2Ffeatures.cpp;h=a66eefc5ad18bb6271a9086b245697bb8b6632d0;hb=e6077f9f25b794c174e1017c2c0763e77a6fddda;hp=78233bfcf48a3ff884bac0344b464c3e7ca17a33;hpb=8e553af57b712051f47293c971671f4f6a939be2;p=libs%2Fgl.git diff --git a/source/glsl/features.cpp b/source/glsl/features.cpp index 78233bfc..a66eefc5 100644 --- a/source/glsl/features.cpp +++ b/source/glsl/features.cpp @@ -5,7 +5,7 @@ namespace GL { namespace SL { Features::Features(): - gl_api(OPENGL), + target_api(OPENGL), arb_enhanced_layouts(false), arb_explicit_attrib_location(false), arb_explicit_uniform_location(false), @@ -22,7 +22,7 @@ Features::Features(): Features Features::from_version(const Version &ver) { Features features; - features.gl_api = OPENGL; + features.target_api = OPENGL; features.glsl_version = ver; features.arb_enhanced_layouts = (ver>=Version(4, 40)); features.arb_explicit_attrib_location = (ver>=Version(1, 30));