From a1e453f504addc6c1c8b270803c85db394356770 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 24 Apr 2020 15:41:49 +0200 Subject: [PATCH] mesa/st: call _mesa_initialize() early MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This allows drivers to reliably do things like using the GLSL type-system during initialization. Reviewed-by: Marek Olšák Part-of: --- src/mesa/state_tracker/st_manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 67cc46a0c54..ae600737cc6 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -894,6 +894,8 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi, return NULL; } + _mesa_initialize(); + /* Create a hash table for the framebuffer interface objects * if it has not been created for this st manager. */ -- 2.30.2