summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-11-23 14:44:54 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-12-09 14:05:12 +0000
commitbbecce52f8f9db729810ed70ba1c4112d45cc583 (patch)
treec53f7ce193b4661d3dd957a574d55cd3bf29d119 /src/mesa/pipe/draw
parentda47ad07ef8cf69a74f4414f7957e0749fa6f7ad (diff)
gallium: initialized draw element buffer to NULL
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r--src/mesa/pipe/draw/draw_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index c7ad4c3d68..d438c0be10 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -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;
}