summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-08-06 15:49:11 -0600
committerBrian <brian@i915.localnet.net>2007-08-06 15:49:11 -0600
commit4435baef18ccd86ebb9797bf271b6b7182cc777e (patch)
tree9b48bb31ac5876716c957e93409bdcc8efa22d6f
parent0790d9a074ee3c161d5e4395093d62f4d573f39b (diff)
use new texture funcs
-rw-r--r--src/mesa/state_tracker/st_context.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 6814eac2dc..2b96286770 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -30,7 +30,7 @@
#include "st_context.h"
#include "st_cb_clear.h"
#include "st_cb_drawpixels.h"
-#include "st_cb_teximage.h"
+#include "st_cb_texture.h"
#include "st_atom.h"
#include "st_draw.h"
#include "st_program.h"
@@ -64,7 +64,7 @@ struct st_context *st_create_context( GLcontext *ctx,
st_init_cb_clear( st );
st_init_cb_program( st );
st_init_cb_drawpixels( st );
- st_init_cb_teximage( st );
+ st_init_cb_texture( st );
return st;
}
@@ -78,7 +78,8 @@ void st_destroy_context( struct st_context *st )
st_destroy_cb_clear( st );
st_destroy_cb_program( st );
st_destroy_cb_drawpixels( st );
- st_destroy_cb_teximage( st );
+ /*st_destroy_cb_teximage( st );*/
+ st_destroy_cb_texture( st );
st->pipe->destroy( st->pipe );
FREE( st );