llvmpipe: initialize setup line/tri/point funcs
authorKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 13:33:57 +0000 (14:33 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 13:34:23 +0000 (14:34 +0100)
src/gallium/drivers/llvmpipe/lp_setup.c

index 8a9c1696345282151a90ce41d3a9299693bd29a9..47839869ac636482db3edb99c1e40111a7a9165a 100644 (file)
@@ -568,6 +568,10 @@ lp_setup_create( struct pipe_screen *screen )
          setup->tile[i][j].head = 
             setup->tile[i][j].tail = CALLOC_STRUCT(cmd_block);
 
+   setup->triangle = first_triangle;
+   setup->line     = first_line;
+   setup->point    = first_point;
+   
    return setup;
 
 fail: