mesa/main: factor out one-time-init into a helper
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 10 Jul 2020 11:05:32 +0000 (13:05 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 10:56:03 +0000 (10:56 +0000)
commit0a4aa612ba27d6b9e550f7c4a009f30fcfa0c93e
treee54070ee548c1bf74619a8891c957736011d98f6
parent38e3cbb639174db71eea9edc2628e4e0b1696fbc
mesa/main: factor out one-time-init into a helper

This will make the next commit a bit cleaner.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5879>
src/mesa/main/context.c