diff options
author | Brian Paul <[email protected]> | 2013-03-13 08:35:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-14 18:09:42 -0600 |
commit | 6a9d7659d68c8678f4e469b15c15ff0f10075746 (patch) | |
tree | 5ca9ff335617ae16ae30c1c1997644c4e69c85d0 /src/gallium/auxiliary/draw | |
parent | 622b1fcc186190971102f438118b657a47fb406e (diff) |
draw: init pre_clip_pos = NULL to fix optimized build warning
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_so_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index 64ed5441e7c..25584a9b62e 100644 --- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c @@ -148,7 +148,7 @@ static void so_emit_prim(struct pt_so_emit *so, for (i = 0; i < num_vertices; ++i) { const float (*input)[4]; - const float (*pre_clip_pos)[4]; + const float (*pre_clip_pos)[4] = NULL; int ob; input = (const float (*)[4])( |