]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Make the SL::Features factory functions more flexible
[libs/gl.git] / source / glsl / compiler.cpp
index e658a79ea98c2adc7c469b092f43ca84da9db161..9ddafcff403c9369b72a76828c366e59077ed3f8 100644 (file)
@@ -396,7 +396,8 @@ void Compiler::finalize(Stage &stage, Mode mode)
 {
        if(mode==PROGRAM)
        {
-               LegacyConverter().apply(stage, features);
+               StructuralFeatureConverter().apply(stage, features);
+               QualifierConverter().apply(stage, features);
                resolve(stage, RESOLVE_VARIABLES|RESOLVE_FUNCTIONS);
                PrecisionConverter().apply(stage);
        }