aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-02-27 11:19:29 -0500
committerKristian Høgsberg <[email protected]>2008-02-27 11:24:29 -0500
commit60c0f09abb9421de359cd92e094a943d650fc7fa (patch)
tree8a5bf33c1de4e653dd61aae2a39617850ff68dc8 /src/mesa/drivers/dri/i965/brw_context.c
parentc34b024cf49f3fc06271d561a4069c77d7b65c48 (diff)
intel: Always use intelInitExtensions() for initializing extensions.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 2d32f1d6147..349b8be49bd 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 );