]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix incorrect version for ARB_explicit_attrib_location
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Apr 2022 11:34:44 +0000 (14:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Apr 2022 11:38:48 +0000 (14:38 +0300)
extensions/arb_explicit_attrib_location.glext
source/glsl/features.cpp

index 77222b92ce85e1f2f0899c2a859a3bc1c79b78c4..d2c13d47652b30e3a145c3d46db3d1a2ed726a8e 100644 (file)
@@ -1 +1,2 @@
 extension ARB_explicit_attrib_location
+version 3.3
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));