]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Assign bindings to all uniform blocks and sampler uniforms
[libs/gl.git] / source / glsl / compiler.cpp
index 91a13f4398ed02af892f4f1db567b216fab5b5fa..0ad41dfac46c2de102c827e17fa550b421166f3e 100644 (file)
@@ -107,7 +107,7 @@ void Compiler::compile(Mode mode)
                        ++i;
        }
 
-       LocationAllocator().apply(*module);
+       LocationAllocator().apply(*module, features);
        for(list<Stage>::iterator i=module->stages.begin(); i!=module->stages.end(); ++i)
                finalize(*i, mode);