remove unneeded tnl stuff
authorBrian <brian.paul@tungstengraphics.com>
Thu, 1 Nov 2007 20:01:14 +0000 (14:01 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 2 Nov 2007 00:01:47 +0000 (18:01 -0600)
src/mesa/state_tracker/st_context.c

index 97e178b..d2f7163 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "main/imports.h"
 #include "main/extensions.h"
-#include "tnl/tnl.h"
 #include "vbo/vbo.h"
 #include "st_public.h"
 #include "st_context.h"
@@ -80,8 +79,6 @@ struct st_context *st_create_context( GLcontext *ctx,
 
    /* state tracker needs the VBO module */
    _vbo_CreateContext(ctx);
-   /* XXX temporary */
-   _tnl_CreateContext(ctx);
 
    st->draw = draw_create(); /* for selection/feedback */
 
@@ -117,9 +114,6 @@ struct st_context *st_create_context( GLcontext *ctx,
    /* XXXX This is temporary! */
    _mesa_enable_sw_extensions(ctx);
 
-   /* we'll always do per-pixel fog in the fragment shader */
-   _tnl_allow_vertex_fog(ctx, GL_FALSE);
-
    return st;
 }
 
@@ -131,7 +125,6 @@ void st_destroy_context( struct st_context *st )
    st_destroy_draw( st );
 
    _vbo_DestroyContext(st->ctx);
-   _tnl_DestroyContext(st->ctx); /* XXX temporary */
 
 #if 0
    st_destroy_cb_clear( st );