]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.h
Fix a name conflict in certain inlining scenarios
[libs/gl.git] / source / glsl / features.h
index b72aa3d99d7ad619e7e42a8dfee8fe25ead87764..e0d7dd77ceb3982ec6ed60bb543b26799cd9604e 100644 (file)
@@ -20,11 +20,11 @@ struct Features
        bool ext_gpu_shader4 = false;
        bool ext_texture_array = false;
        unsigned constant_id_range = 0x80000000U;
-       unsigned uniform_binding_range = 84;
-       unsigned texture_binding_range = 96;
+       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