diff options
author | Erik Faye-Lund <[email protected]> | 2020-04-24 15:24:05 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-27 20:40:01 +0000 |
commit | ac9d30431e2c670ae134e2619be9817a99101e1d (patch) | |
tree | 6899bd6d2f380f4daa1a644c933cba33f2b83758 /src/mesa | |
parent | 9bc98778a4792e260e1f6d9000fda54734a48860 (diff) |
mesa/main: do not init remap-table per api
This hasn't really been nessecary since 8386088e3dc ("dispatch: stop
using _mesa_create_exec_table_es1() for GLES1."), when we stopped
diverging the logic here based on the context-API. So let's simplify the
code a bit.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4765>
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 958ac8cb8f0..cf46e1d124b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -408,10 +408,7 @@ one_time_init( struct gl_context *ctx ) * unecessary creation/destruction of glsl types. */ glsl_type_singleton_init_or_ref(); - } - /* per-API one-time init */ - if (!(api_init_mask & (1 << ctx->API))) { _mesa_init_remap_table(); } |