mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
gallium: initialized draw element buffer to NULL
This commit is contained in:
parent
da47ad07ef
commit
bbecce52f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue