From: Chris Forbes Date: Thu, 26 Sep 2013 07:09:21 +0000 (+1200) Subject: mesa: add plumbing for GL_ARB_texture_query_levels X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ce4e7672ed4ca2afe47ca5236f3444d4bc83a4e;p=mesa.git mesa: add plumbing for GL_ARB_texture_query_levels Signed-off-by: Chris Forbes Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index c0f17c5fd03..2507fdf34b8 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -146,6 +146,7 @@ static const struct extension extension_table[] = { { "GL_ARB_texture_mirrored_repeat", o(dummy_true), GLL, 2001 }, { "GL_ARB_texture_multisample", o(ARB_texture_multisample), GL, 2009 }, { "GL_ARB_texture_non_power_of_two", o(ARB_texture_non_power_of_two), GL, 2003 }, + { "GL_ARB_texture_query_levels", o(ARB_texture_query_levels), GL, 2012 }, { "GL_ARB_texture_query_lod", o(ARB_texture_query_lod), GL, 2009 }, { "GL_ARB_texture_rectangle", o(NV_texture_rectangle), GL, 2004 }, { "GL_ARB_texture_rgb10_a2ui", o(ARB_texture_rgb10_a2ui), GL, 2009 }, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 514f81048d1..15893ecac89 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3220,6 +3220,7 @@ struct gl_extensions GLboolean ARB_texture_gather; GLboolean ARB_texture_multisample; GLboolean ARB_texture_non_power_of_two; + GLboolean ARB_texture_query_levels; GLboolean ARB_texture_query_lod; GLboolean ARB_texture_rg; GLboolean ARB_texture_rgb10_a2ui;