]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/finalize.cpp
Fix layout processing for old GLSL versions
[libs/gl.git] / source / glsl / finalize.cpp
index b8c3378cc5ee6e6ff010e3f7b65bde411468b6f6..030cb432a4a0c835b2485773ffa8b92fb36b705d 100644 (file)
@@ -228,8 +228,10 @@ bool LegacyConverter::supports_interface_layouts() const
                return check_version(Version(3, 0));
        else if(check_version(Version(3, 30)))
                return true;
-       else
+       else if(check_version(Version(1, 30)))
                return check_extension(&Features::arb_explicit_attrib_location);
+       else
+               return false;
 }
 
 bool LegacyConverter::supports_centroid_sampling() const