xlib: fix incorrect GL_ANGLE_texture_compression_dxt enable
authorBrian Paul <brianp@vmware.com>
Sat, 26 Jan 2013 16:43:07 +0000 (09:43 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Jan 2013 15:59:53 +0000 (08:59 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/x11/xm_api.c

index 5931f5b40001b7a4473918c109a22b65cf237379..739e8acb1cd3f97cd683fc4a2d609294ddfb03ff 100644 (file)
@@ -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