From 60c0f09abb9421de359cd92e094a943d650fc7fa Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 27 Feb 2008 11:19:29 -0500 Subject: intel: Always use intelInitExtensions() for initializing extensions. --- src/mesa/drivers/dri/i965/brw_context.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_context.c') diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 2d32f1d614..349b8be49b 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -52,18 +52,6 @@ * Mesa's Driver Functions ***************************************/ -static const struct dri_extension brw_extensions[] = -{ - { "GL_ARB_depth_texture", NULL }, - { "GL_ARB_fragment_program", NULL }, - { "GL_ARB_shadow", NULL }, - { "GL_EXT_shadow_funcs", NULL }, - /* ARB extn won't work if not enabled */ - { "GL_SGIX_depth_texture", NULL }, - { "GL_ARB_texture_env_crossbar", NULL }, - { NULL, NULL } -}; - static void brwUseProgram(GLcontext *ctx, GLuint program) { struct brw_context *brw = brw_context(ctx); @@ -176,9 +164,6 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis, /* ctx->Const.MaxNativeVertexProgramTemps = 32; */ - - driInitExtensions( ctx, brw_extensions, GL_FALSE ); - brw_init_attribs( brw ); brw_init_metaops( brw ); brw_init_state( brw ); -- cgit v1.2.3