From 9bb370e512135ace791c1295df3a991e223088c4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 9 Apr 2022 14:34:44 +0300 Subject: [PATCH] Fix incorrect version for ARB_explicit_attrib_location --- extensions/arb_explicit_attrib_location.glext | 1 + source/glsl/features.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.45.2