[Mesa-dev] [PATCH 2/2] mesa: actually support GLSL version overrides in compat profile

Timothy Arceri tarceri at itsqueeze.com
Wed May 2 06:54:11 UTC 2018


---
 src/mesa/main/version.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 84babd69e2f..540f5482034 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -591,6 +591,8 @@ _mesa_get_version(const struct gl_extensions *extensions,
          if (consts->GLSLVersion > 140) {
             consts->GLSLVersion = 140;
          }
+         /* Support GLSL version overrides in compat profile */
+         _mesa_override_glsl_version(consts);
       }
       /* fall through */
    case API_OPENGL_CORE:
-- 
2.17.0



More information about the mesa-dev mailing list