gallium: initialized draw element buffer to NULL

This commit is contained in:
Keith Whitwell 2007-11-23 14:44:54 +00:00 committed by José Fonseca
parent da47ad07ef
commit bbecce52f8

View file

@ -85,6 +85,7 @@ struct draw_context *draw_create( void )
draw->prim = ~0; /* != any of PIPE_PRIM_x */
draw_vertex_cache_invalidate( draw );
draw_set_mapped_element_buffer( draw, 0, NULL );
return draw;
}