mesa/main: do not pass context to one-time extension init
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 24 Apr 2020 12:47:23 +0000 (14:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 20:40:01 +0000 (20:40 +0000)
commit9bc98778a4792e260e1f6d9000fda54734a48860
tree4808bb72af7b04ceca3abdacdd256d105de21cf3
parent05c69752cfda9e66130c64c01f0c8fac613c83ad
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>
src/mesa/main/context.c
src/mesa/main/extensions.c
src/mesa/main/extensions.h