Mesa (master): util: Don't call util_dl_close(library) when util_format_s3tc_init is successful."
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu Apr 8 09:36:24 UTC 2010
Module: Mesa
Branch: master
Commit: d2f8162f91e797af5dbccec3f76a7c238e27f206
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f8162f91e797af5dbccec3f76a7c238e27f206
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 8 10:36:16 2010 +0100
util: Don't call util_dl_close(library) when util_format_s3tc_init is successful."
Otherwise the library will be unloaded and function pointers become invalid.
This reverts commit bc2bc0306e4dd8c56bd66a8aabf2433f6689653d.
---
src/gallium/auxiliary/util/u_format_s3tc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c
index 7ebc9f3..d1f45d7 100644
--- a/src/gallium/auxiliary/util/u_format_s3tc.c
+++ b/src/gallium/auxiliary/util/u_format_s3tc.c
@@ -151,7 +151,6 @@ 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);
}
More information about the mesa-commit
mailing list