]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.h
Make the SL::Features factory functions more flexible
[libs/gl.git] / source / glsl / features.h
index 5877746596bda5d2f37dea7cf9bab039f6cf1eba..e0d7dd77ceb3982ec6ed60bb543b26799cd9604e 100644 (file)
@@ -23,8 +23,8 @@ struct Features
        unsigned uniform_binding_range = 24;
        unsigned texture_binding_range = 16;
 
-       static Features from_opengl_version(const Version &);
-       static Features opengl_latest();
+       static Features from_api_version(GraphicsApi, const Version &);
+       static Features latest(GraphicsApi);
 };
 
 } // namespace SL