X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=5877746596bda5d2f37dea7cf9bab039f6cf1eba;hb=6997ed1c07c382c0f66c57c080934ad53e1d3713;hp=14cc2b3743ed61cae347c62d90470f3fac9ad3c4;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/glsl/features.h b/source/glsl/features.h index 14cc2b37..58777465 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -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_version(const Version &); - static Features latest(); + static Features from_opengl_version(const Version &); + static Features opengl_latest(); }; } // namespace SL