From 32675a304be6ab63f79b6d547ac20e6de3fcfb71 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 13 Aug 2023 08:06:44 +0200 Subject: [PATCH] mesa: Enable ARB_texture_border_clamp in GL Core MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit According to the GL3 spec, only the `CLAMP` mode was deprecated, the `CLAMP_TO_EDGE` and `CLAMP_TO_BORDER_ARB` are not, so this extension should be advertised. As a side note, Davinci Resolve uses a Core profile and tests for that extension so it fixes an issue with that app. Signed-off-by: Sylvain Munaut Reviewed-by: Tapani Pälli Part-of: --- src/mesa/main/extensions_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index ede7a9e..2eab460 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -149,7 +149,7 @@ EXT(ARB_stencil_texturing , ARB_stencil_texturing EXT(ARB_sync , ARB_sync , GLL, GLC, x , x , 2003) EXT(ARB_tessellation_shader , ARB_tessellation_shader , GLL, GLC, x , x , 2009) EXT(ARB_texture_barrier , NV_texture_barrier , GLL, GLC, x , x , 2014) -EXT(ARB_texture_border_clamp , dummy_true , GLL, x , x , x , 2000) +EXT(ARB_texture_border_clamp , dummy_true , GLL, GLC, x , x , 2000) EXT(ARB_texture_buffer_object , ARB_texture_buffer_object , GLL, GLC, x , x , 2008) EXT(ARB_texture_buffer_object_rgb32 , ARB_texture_buffer_object_rgb32 , GLL, GLC, x , x , 2009) EXT(ARB_texture_buffer_range , ARB_texture_buffer_range , GLL, GLC, x , x , 2012) -- 2.7.4