mesa/main: do not init remap-table per api

This hasn't really been nessecary since 8386088e3d ("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 <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4765>
This commit is contained in:
Erik Faye-Lund
2020-04-24 15:24:05 +02:00
committed by Marge Bot
parent 9bc98778a4
commit ac9d30431e
-3
View File
@@ -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();
}