diff options
author | Matt Turner <[email protected]> | 2017-09-28 14:16:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-10-02 19:41:22 -0700 |
commit | 3a8a5e77e8f992aaa3539e060885138c2fcddad1 (patch) | |
tree | 2eebf1d1150bee8d2d285a5f7dd761999f1700e2 /src/gallium/state_trackers/dri | |
parent | f6c56e07fc5a8e81fd90688c9fee239f18c3480e (diff) |
gallium: Remove util_format_s3tc_enabled
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/dri_screen.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/state_trackers/dri/dri_screen.c index 1d9f441223e..803264a58f1 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -505,19 +505,6 @@ dri_init_screen_helper(struct dri_screen *screen, else screen->target = PIPE_TEXTURE_RECT; - /* Handle force_s3tc_enable. */ - if (!util_format_s3tc_enabled && screen->options.force_s3tc_enable) { - /* Ensure libtxc_dxtn has been loaded if available. - * Forcing S3TC on before calling this would prevent loading - * the library. - * This is just a precaution, the driver should have called it - * already. - */ - util_format_s3tc_init(); - - util_format_s3tc_enabled = TRUE; - } - dri_postprocessing_init(screen); screen->st_api->query_versions(screen->st_api, &screen->base, |