mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
remove unneeded tnl stuff
This commit is contained in:
parent
b1ed405cfc
commit
308bc50dc2
1 changed files with 0 additions and 7 deletions
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
#include "main/imports.h"
|
#include "main/imports.h"
|
||||||
#include "main/extensions.h"
|
#include "main/extensions.h"
|
||||||
#include "tnl/tnl.h"
|
|
||||||
#include "vbo/vbo.h"
|
#include "vbo/vbo.h"
|
||||||
#include "st_public.h"
|
#include "st_public.h"
|
||||||
#include "st_context.h"
|
#include "st_context.h"
|
||||||
|
|
@ -80,8 +79,6 @@ struct st_context *st_create_context( GLcontext *ctx,
|
||||||
|
|
||||||
/* state tracker needs the VBO module */
|
/* state tracker needs the VBO module */
|
||||||
_vbo_CreateContext(ctx);
|
_vbo_CreateContext(ctx);
|
||||||
/* XXX temporary */
|
|
||||||
_tnl_CreateContext(ctx);
|
|
||||||
|
|
||||||
st->draw = draw_create(); /* for selection/feedback */
|
st->draw = draw_create(); /* for selection/feedback */
|
||||||
|
|
||||||
|
|
@ -117,9 +114,6 @@ struct st_context *st_create_context( GLcontext *ctx,
|
||||||
/* XXXX This is temporary! */
|
/* XXXX This is temporary! */
|
||||||
_mesa_enable_sw_extensions(ctx);
|
_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;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -131,7 +125,6 @@ void st_destroy_context( struct st_context *st )
|
||||||
st_destroy_draw( st );
|
st_destroy_draw( st );
|
||||||
|
|
||||||
_vbo_DestroyContext(st->ctx);
|
_vbo_DestroyContext(st->ctx);
|
||||||
_tnl_DestroyContext(st->ctx); /* XXX temporary */
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
st_destroy_cb_clear( st );
|
st_destroy_cb_clear( st );
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue