OSDN Git Service

use st_cb_readpixels.c
authorBrian <brian.paul@tungstengraphics.com>
Fri, 10 Aug 2007 17:37:21 +0000 (11:37 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 10 Aug 2007 17:37:21 +0000 (11:37 -0600)
src/mesa/state_tracker/st_context.c

index 9f7916e..8093544 100644 (file)
 #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);
 }