summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-02 20:40:19 -0600
committerBrian <[email protected]>2007-08-02 20:40:19 -0600
commit61d0215d7b35bff980acbf1d61c764f8b80c0e71 (patch)
treee3d41583e2b87b3084ae2169f8cd8b2fc2ffb44b /src/mesa/state_tracker
parent66ae07854e7e6e9f56e0beb6b56a8c1429bfa3c6 (diff)
hook in teximage bits
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_context.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 168ad33d6e5..6814eac2dc9 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -30,6 +30,7 @@
#include "st_context.h"
#include "st_cb_clear.h"
#include "st_cb_drawpixels.h"
+#include "st_cb_teximage.h"
#include "st_atom.h"
#include "st_draw.h"
#include "st_program.h"
@@ -59,9 +60,11 @@ struct st_context *st_create_context( GLcontext *ctx,
st_init_atoms( st );
st_init_draw( st );
- st_init_cb_program( st );
+
st_init_cb_clear( st );
+ st_init_cb_program( st );
st_init_cb_drawpixels( st );
+ st_init_cb_teximage( st );
return st;
}
@@ -71,7 +74,12 @@ void st_destroy_context( struct st_context *st )
{
st_destroy_atoms( st );
st_destroy_draw( st );
+
+ st_destroy_cb_clear( st );
st_destroy_cb_program( st );
+ st_destroy_cb_drawpixels( st );
+ st_destroy_cb_teximage( st );
+
st->pipe->destroy( st->pipe );
FREE( st );
}