summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-10 11:37:21 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-10 11:37:21 -0600
commit6f27aabe49f45d1c4915d4d5e12723774c6bbdeb (patch)
tree4c2e6ba11f61d68ccda481a17a9430ed14e71719
parentc943dab9a36ac1b48a3da570d44128caa67c9f51 (diff)
use st_cb_readpixels.c
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 9f7916e40e..80935442ae 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -32,12 +32,14 @@
#include "st_cb_clear.h"
#include "st_cb_drawpixels.h"
#include "st_cb_fbo.h"
+#include "st_cb_readpixels.h"
#include "st_cb_texture.h"
#include "st_atom.h"
#include "st_draw.h"
#include "st_program.h"
#include "pipe/p_context.h"
+
void st_invalidate_state(GLcontext * ctx, GLuint new_state)
{
struct st_context *st = st_context(ctx);
@@ -105,5 +107,6 @@ void st_init_driver_functions(struct dd_function_table *functions)
st_init_drawpixels_functions(functions);
st_init_fbo_functions(functions);
st_init_program_functions(functions);
+ st_init_readpixels_functions(functions);
st_init_texture_functions(functions);
}