llvmpipe: initialize setup data store
authorKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 13:36:41 +0000 (14:36 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 13:36:41 +0000 (14:36 +0100)
src/gallium/drivers/llvmpipe/lp_setup.c

index 4783986..336a8b4 100644 (file)
@@ -568,6 +568,9 @@ lp_setup_create( struct pipe_screen *screen )
          setup->tile[i][j].head = 
             setup->tile[i][j].tail = CALLOC_STRUCT(cmd_block);
 
+   setup->data.head =
+      setup->data.tail = CALLOC_STRUCT(data_block);
+
    setup->triangle = first_triangle;
    setup->line     = first_line;
    setup->point    = first_point;