GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit d2f8162f authored by Jose Fonseca's avatar Jose Fonseca
Browse files

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 bc2bc030.
parent bc2bc030
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment