Commit 78fd65fd authored by Brian Paul's avatar Brian Paul
Browse files

draw: init draw->pt.middle.general = NULL just to be safe

This field should be null from the initial calloc() of the draw context,
but let's be safe (and improve understanding of the code).
parent da17623c
......@@ -142,6 +142,8 @@ boolean draw_pt_init( struct draw_context *draw )
draw->pt.middle.general = draw_pt_fetch_pipeline_or_emit_llvm( draw );
draw->pt.middle.general = NULL;
if (!draw->pt.middle.general)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment