summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9f7916e40e8..80935442aec 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);
}