mesa/main: Do not pass context to one_time_init
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 24 Apr 2020 13:27:13 +0000 (15:27 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 20:40:01 +0000 (20:40 +0000)
commit6ff94735c93b8fcc2a3e5c6eb668b069ac4e0a1a
tree5b0c7ff3b94faa4ce67105d1add04bd4247a99ec
parentac9d30431e2c670ae134e2619be9817a99101e1d
mesa/main: Do not pass context to one_time_init

There's no longer any reason to pass the context down to one_time_init,
because we always do the same thing regardless of the context, and we
don't change the context.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4765>
src/mesa/main/context.c