]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.cpp
Fix incorrect version for ARB_explicit_attrib_location
[libs/gl.git] / source / glsl / features.cpp
index c67cf2dca79943f1e39ee7254eec9b6add4ff210..54fc6f4e6b4651a29a3d38efd6bc23f2380fccb3 100644 (file)
@@ -16,7 +16,7 @@ Features Features::from_api_version(GraphicsApi api, const Version &ver)
        {
        case OPENGL:
                features.arb_enhanced_layouts = (ver>=Version(4, 40));
-               features.arb_explicit_attrib_location = (ver>=Version(1, 30));
+               features.arb_explicit_attrib_location = (ver>=Version(3, 30));
                features.arb_explicit_uniform_location = (ver>=Version(4, 30));
                features.arb_gpu_shader5 = (ver>=Version(4, 0));
                features.arb_separate_shader_objects = (ver>=Version(4, 10));