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:
committed by
Marge Bot
parent
9bc98778a4
commit
ac9d30431e
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user