summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 904d9cd8340..9a22e54675c 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1251,6 +1251,10 @@ void st_init_extensions(struct pipe_screen *screen,
}
}
+ if (extensions->EXT_texture_filter_anisotropic &&
+ screen->get_paramf(screen, PIPE_CAPF_MAX_TEXTURE_ANISOTROPY) >= 16.0)
+ extensions->ARB_texture_filter_anisotropic = GL_TRUE;
+
extensions->KHR_robustness = extensions->ARB_robust_buffer_access_behavior;
/* If we support ES 3.1, we support the ES3_1_compatibility ext. However