Commit 4e41ae5f authored by Brian Paul's avatar Brian Paul

xlib: stop use _mesa_enable_extension(), just set the boolean flags

Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent becec657
......@@ -928,13 +928,12 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
_mesa_enable_2_0_extensions(mesaCtx);
_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_dxt3");
_mesa_enable_extension(mesaCtx, "GL_ANGLE_texture_compression_dxt5");
mesaCtx->Extensions.EXT_texture_compression_s3tc = GL_TRUE;
mesaCtx->Extensions.ANGLE_texture_compression_dxt = GL_TRUE;
}
_mesa_enable_extension(mesaCtx, "GL_3DFX_texture_compression_FXT1");
mesaCtx->Extensions.TDFX_texture_compression_FXT1 = GL_TRUE;
#if ENABLE_EXT_timer_query
_mesa_enable_extension(mesaCtx, "GL_EXT_timer_query");
mesaCtx->Extensions.EXT_timer_query = GL_TRUE;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment