Revert "mesa/st: Use do_once for one-time init"

This reverts commit bcb2981e14.

Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7760>
This commit is contained in:
Erik Faye-Lund 2020-11-24 23:34:39 +01:00 committed by Marge Bot
parent 410b651859
commit f20192f7c3
2 changed files with 1 additions and 5 deletions

View File

@ -68,9 +68,7 @@ DEBUG_GET_ONCE_FLAGS_OPTION(st_debug, "ST_DEBUG", st_debug_flags, 0)
void
st_debug_init(void)
{
do_once {
ST_DEBUG = debug_get_option_st_debug();
}
ST_DEBUG = debug_get_option_st_debug();
}

View File

@ -1040,8 +1040,6 @@ void st_init_extensions(struct pipe_screen *screen,
} },
};
st_debug_init();
/*
* Extensions that are supported by all Gallium drivers:
*/