projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
622b1fc
)
draw: init pre_clip_pos = NULL to fix optimized build warning
author
Brian Paul
<brianp@vmware.com>
Wed, 13 Mar 2013 14:35:39 +0000
(08:35 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 15 Mar 2013 00:09:42 +0000
(18:09 -0600)
src/gallium/auxiliary/draw/draw_pt_so_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index 64ed5441e7c8615e30bd6acff4af06e8a4471ab0..25584a9b62e33a1a739f6d6054bc4bfaeb6f76c0 100644
(file)
--- 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])(