From: Mikko Rasa Date: Sat, 9 Apr 2022 11:34:44 +0000 (+0300) Subject: Fix incorrect version for ARB_explicit_attrib_location X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9bb370e512135ace791c1295df3a991e223088c4;p=libs%2Fgl.git Fix incorrect version for ARB_explicit_attrib_location --- diff --git a/extensions/arb_explicit_attrib_location.glext b/extensions/arb_explicit_attrib_location.glext index 77222b92..d2c13d47 100644 --- a/extensions/arb_explicit_attrib_location.glext +++ b/extensions/arb_explicit_attrib_location.glext @@ -1 +1,2 @@ extension ARB_explicit_attrib_location +version 3.3 diff --git a/source/glsl/features.cpp b/source/glsl/features.cpp index c67cf2dc..54fc6f4e 100644 --- a/source/glsl/features.cpp +++ b/source/glsl/features.cpp @@ -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));