diff options
author | Timothy Arceri <[email protected]> | 2018-05-08 09:22:41 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-05-09 14:24:29 +1000 |
commit | be3ee9d141b958d41378fa8fd61255b14f5b6e74 (patch) | |
tree | c9757d86e76a345830eede05858a396fe7a48be4 /src/mesa | |
parent | 2a621acc8d31702a4c7e09d567c8dbc1c9231cd8 (diff) |
mesa: dont call _mesa_override_glsl_version() in _mesa_init_constants()
All drivers that support GLSL will later set their default GLSL versions
overriding this override call. They currently all call
_mesa_override_glsl_version() again later in order to support overrides.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 9bd4661bd86..4243e03c5cd 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -638,9 +638,6 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api) consts->MaxGeometryOutputVertices = MAX_GEOMETRY_OUTPUT_VERTICES; consts->MaxGeometryTotalOutputComponents = MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS; - /* Shading language version */ - _mesa_override_glsl_version(consts); - #ifdef DEBUG consts->GenerateTemporaryNames = true; #else |