]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.cpp
Make constant id range configurable and avoid duplicates
[libs/gl.git] / source / glsl / features.cpp
index 11b6c942fa4324b4e6b15f546d11bf440ab0bacc..dab230d339c517f2a4f4bd5a3ecf895b07c08c10 100644 (file)
@@ -15,7 +15,8 @@ Features::Features():
        arb_gpu_shader5(false),
        arb_uniform_buffer_object(false),
        ext_gpu_shader4(false),
-       ext_texture_array(false)
+       ext_texture_array(false),
+       max_constant_id(0x7FFFFFFF)
 { }
 
 Features Features::from_context()