summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.c')
-rw-r--r--src/gallium/drivers/i965/brw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_context.c b/src/gallium/drivers/i965/brw_context.c
index 0692412b323..5accc858a9c 100644
--- a/src/gallium/drivers/i965/brw_context.c
+++ b/src/gallium/drivers/i965/brw_context.c
@@ -60,6 +60,7 @@ static void brw_destroy_context( struct pipe_context *pipe )
brw_pipe_sampler_cleanup( brw );
brw_pipe_shader_cleanup( brw );
brw_pipe_vertex_cleanup( brw );
+ brw_pipe_clear_cleanup( brw );
FREE(brw->wm.compile_data);
@@ -120,6 +121,7 @@ struct pipe_context *brw_create_context(struct pipe_screen *screen)
brw_pipe_sampler_init( brw );
brw_pipe_shader_init( brw );
brw_pipe_vertex_init( brw );
+ brw_pipe_clear_init( brw );
brw_init_state( brw );
brw_draw_init( brw );