diff options
author | Vinson Lee <vlee@vmware.com> | 2010-04-08 00:52:35 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-04-08 00:55:16 -0700 |
commit | bc2bc0306e4dd8c56bd66a8aabf2433f6689653d (patch) | |
tree | 80887b325fbb5ff4993c1344fdff8ebe2b42d3e5 /src/gallium/auxiliary/util | |
parent | 01ec162d5305c7dc1b20b7c54a0cc163a1ea1bcf (diff) |
util: util_dl_close(library) before exiting util_format_s3tc_init.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_format_s3tc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c index 06cfdcfa8e..7ebc9f3c43 100644 --- a/src/gallium/auxiliary/util/u_format_s3tc.c +++ b/src/gallium/auxiliary/util/u_format_s3tc.c @@ -141,6 +141,7 @@ util_format_s3tc_init(void) debug_printf("couldn't reference all symbols in " DXTN_LIBNAME ", software DXTn compression/decompression " "unavailable"); + util_dl_close(library); return; } @@ -150,6 +151,7 @@ util_format_s3tc_init(void) util_format_dxt5_rgba_fetch = (util_format_dxtn_fetch_t)fetch_2d_texel_rgba_dxt5; util_format_dxtn_pack = (util_format_dxtn_pack_t)tx_compress_dxtn; util_format_s3tc_enabled = TRUE; + util_dl_close(library); } |