diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-10-31 02:36:23 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-11-04 08:02:36 -0800 |
commit | 4575aa2a3003471ea3cf1a7544575b21bbff7b39 (patch) | |
tree | a63cf85c867d8154d41ff27e6ee9848726d52a47 | |
parent | ff9237e8eaa53ed8edb92e8f8879168ba6bcca1e (diff) |
anv: Remove _mesa_locale_init/fini calls.
The resulting locale is not used for Vulkan, and it is not reference
counted, giving issues when multiple instances are created.
CC: 19.2 19.3 <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 3e86d553a470c484b6a2c60bc7866759ec21fea5)
-rw-r--r-- | src/intel/vulkan/anv_device.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 835a9bc7620..e9c96108582 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -32,7 +32,6 @@ #include "drm-uapi/drm_fourcc.h" #include "anv_private.h" -#include "util/strtod.h" #include "util/debug.h" #include "util/build_id.h" #include "util/disk_cache.h" @@ -772,7 +771,6 @@ VkResult anv_CreateInstance( instance->pipeline_cache_enabled = env_var_as_boolean("ANV_ENABLE_PIPELINE_CACHE", true); - _mesa_locale_init(); glsl_type_singleton_init_or_ref(); VG(VALGRIND_CREATE_MEMPOOL(instance, 0, false)); @@ -811,7 +809,6 @@ void anv_DestroyInstance( vk_debug_report_instance_destroy(&instance->debug_report_callbacks); glsl_type_singleton_decref(); - _mesa_locale_fini(); driDestroyOptionCache(&instance->dri_options); driDestroyOptionInfo(&instance->available_dri_options); |