From 95650df93cf7ad882a9f05eae599e0348b41f3c5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 21 May 2018 14:45:36 +1000 Subject: [PATCH] add support for ARB_texture_mirror_clamp_to_edge. This just exposes the cap to the host, the renderer already supports it. Reviewed-by: Elie Tournier --- src/vrend_renderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 6c58040..52c8b10 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -6959,7 +6959,8 @@ void vrend_renderer_fill_caps(uint32_t set, uint32_t version, caps->v1.bset.has_cull = 1; } - if (epoxy_has_gl_extension("GL_EXT_texture_mirror_clamp")) { + if (epoxy_has_gl_extension("GL_EXT_texture_mirror_clamp") || + epoxy_has_gl_extension("GL_ARB_texture_mirror_clamp_to_edge")) { caps->v1.bset.mirror_clamp = true; }