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:
parent
410b651859
commit
f20192f7c3
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1040,8 +1040,6 @@ void st_init_extensions(struct pipe_screen *screen,
|
|||
} },
|
||||
};
|
||||
|
||||
st_debug_init();
|
||||
|
||||
/*
|
||||
* Extensions that are supported by all Gallium drivers:
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue