]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.cpp
Make backend idenfication more generic
[libs/gl.git] / source / glsl / features.cpp
index 78233bfcf48a3ff884bac0344b464c3e7ca17a33..a66eefc5ad18bb6271a9086b245697bb8b6632d0 100644 (file)
@@ -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));