mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
mesa: dont set GLSLVersion in _mesa_init_constants()
Just leave it as 0 and let the drivers set it (as they already do) to avoid redundantly initialising it. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
0783399d79
commit
2a621acc8d
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue