[Mesa-dev] [PATCH] xlib: fix incorrect GL_ANGLE_texture_compression_dxt enable
Brian Paul
brianp at vmware.com
Mon Jan 28 10:46:17 PST 2013
---
src/mesa/drivers/x11/xm_api.c | 3 ++-
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 5931f5b..739e8ac 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
--
1.7.3.4
More information about the mesa-dev
mailing list