mesa: initialize OutsideBeginEnd directly instead of through Exec
authorMarek Olšák <marek.olsak@amd.com>
Thu, 11 Aug 2022 05:26:06 +0000 (01:26 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 22:58:16 +0000 (22:58 +0000)
commit684dae9e64de180bd7b1b296c88220915376e313
tree0b487b68e1645bc0bb763c5d1e9bec145d973c87
parent1c803b7080c8f5c11c60c93e9e5ff542e13817de
mesa: initialize OutsideBeginEnd directly instead of through Exec

Exec is just a mutable pointer to one of the dispatch tables.
OutsideBeginEnd is what we are actually initializing here. This makes
the original intention clear.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
src/mapi/glapi/gen/api_exec_init.py
src/mesa/main/dlist.c
src/mesa/vbo/vbo_exec_api.c