Just leave it as 0 and let the drivers set it (as they already do) to avoid redundantly initialising it. --- src/mesa/main/context.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 9a4bf8d3942..9bd4661bd86 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -639,7 +639,6 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api) consts->MaxGeometryTotalOutputComponents = MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS; /* Shading language version */ - consts->GLSLVersion = 120; _mesa_override_glsl_version(consts); #ifdef DEBUG -- 2.17.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev