summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-01 14:01:39 -0600
committerBrian <[email protected]>2007-11-01 18:01:47 -0600
commit2072a9c6d0eec55b5fa6f8229287c8f8225c6d2e (patch)
tree45b17f4a289c03c53ef256dffaa005f96c072d72 /src/mesa/state_tracker/st_context.c
parent308bc50dc2048f28c48d68efd083c72bd501088c (diff)
remove dead code
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index d2f7163d625..69942d96854 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -104,13 +104,6 @@ struct st_context *st_create_context( GLcontext *ctx,
st->pixel_xfer.cache = _mesa_new_program_cache();
-#if 0
- st_init_cb_clear( st );
- st_init_cb_program( st );
- st_init_cb_drawpixels( st );
- st_init_cb_texture( st );
-#endif
-
/* XXXX This is temporary! */
_mesa_enable_sw_extensions(ctx);
@@ -126,13 +119,6 @@ void st_destroy_context( struct st_context *st )
_vbo_DestroyContext(st->ctx);
-#if 0
- st_destroy_cb_clear( st );
- st_destroy_cb_program( st );
- st_destroy_cb_drawpixels( st );
- /*st_destroy_cb_teximage( st );*/
- st_destroy_cb_texture( st );
-#endif
cso_cache_delete( st->cache );
_mesa_delete_program_cache(st->ctx, st->pixel_xfer.cache);