summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-01-26 09:43:07 -0700
committerBrian Paul <[email protected]>2013-01-29 08:59:53 -0700
commitbecec657d6e4597fd43507e5cf5a5aef5c93ce12 (patch)
treefa25081f4c6ef7b4e8792c76dbc4704b77784de2 /src/mesa/drivers/x11
parent0ca384fb39f6d98af2de5654c46394743147d228 (diff)
xlib: fix incorrect GL_ANGLE_texture_compression_dxt enable
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c3
1 files changed, 2 insertions, 1 deletions
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