From: Brian Paul Date: Sat, 26 Jan 2013 16:43:07 +0000 (-0700) Subject: xlib: fix incorrect GL_ANGLE_texture_compression_dxt enable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=becec657d6e4597fd43507e5cf5a5aef5c93ce12;p=mesa.git xlib: fix incorrect GL_ANGLE_texture_compression_dxt enable Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 5931f5b4000..739e8acb1cd 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -929,7 +929,8 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) _mesa_enable_2_1_extensions(mesaCtx); if (mesaCtx->Mesa_DXTn) { _mesa_enable_extension(mesaCtx, "GL_EXT_texture_compression_s3tc"); - _mesa_enable_extension(mesaCtx, "GL_ANGLE_texture_compression_dxt"); + _mesa_enable_extension(mesaCtx, "GL_ANGLE_texture_compression_dxt3"); + _mesa_enable_extension(mesaCtx, "GL_ANGLE_texture_compression_dxt5"); } _mesa_enable_extension(mesaCtx, "GL_3DFX_texture_compression_FXT1"); #if ENABLE_EXT_timer_query