diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-13 23:48:40 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-13 23:48:40 -0800 |
commit | 1462c1299c52c09a0fc5251067af75ae0192b9ea (patch) | |
tree | 6b9bb0d52f35acfb1e61c5f9421def607260dadc /src/gallium | |
parent | 71e750f4822a1cdba24abf1fc48eabeeb77961f8 (diff) |
llvmpipe: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_scene_queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene_queue.c b/src/gallium/drivers/llvmpipe/lp_scene_queue.c index 43d74e4d89..975db43c4e 100644 --- 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, |