mesa/main: do not pass context to one-time extension init

_mesa_problem doesn't use the ctx argument for anything, so there's no
reason to pass it. This saves us from needing a context passed down this
code-path in the first place.

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 14:47:23 +02:00
committed by Marge Bot
parent 05c69752cf
commit 9bc98778a4
3 changed files with 7 additions and 7 deletions

View File

@@ -388,7 +388,7 @@ one_time_init( struct gl_context *ctx )
_mesa_locale_init();
_mesa_one_time_init_extension_overrides(ctx);
_mesa_one_time_init_extension_overrides();
_mesa_get_cpu_features();