projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e750f
)
llvmpipe: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 07:48:40 +0000
(23:48 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 07:48:40 +0000
(23:48 -0800)
src/gallium/drivers/llvmpipe/lp_scene_queue.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_scene_queue.c
b/src/gallium/drivers/llvmpipe/lp_scene_queue.c
index 43d74e4d89d8ca2bd3aa860a35e2fcf79e1e2934..975db43c4e991b1521b3f788806584fd0ac93651 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_scene_queue.c
+++ b/
src/gallium/drivers/llvmpipe/lp_scene_queue.c
@@
-92,6
+92,8
@@
lp_scene_dequeue(struct lp_scene_queue *queue, boolean wait)
struct scene_packet packet;
enum pipe_error ret;
+ packet.scene = NULL;
+
ret = util_ringbuffer_dequeue(queue->ring,
&packet.header,
sizeof packet / 4,