projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6138145
)
gallium/util: Initialize variable in util_clear.
author
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 00:22:03 +0000
(16:22 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 00:22:03 +0000
(16:22 -0800)
src/gallium/auxiliary/util/u_clear.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_clear.h
b/src/gallium/auxiliary/util/u_clear.h
index 7c16b32cf9f280464d680fc05c73c7000323b539..7035c68aed00e97cdd9b0923d0743614d8eb26e2 100644
(file)
--- a/
src/gallium/auxiliary/util/u_clear.h
+++ b/
src/gallium/auxiliary/util/u_clear.h
@@
-45,7
+45,7
@@
util_clear(struct pipe_context *pipe,
{
if (buffers & PIPE_CLEAR_COLOR) {
struct pipe_surface *ps = framebuffer->cbufs[0];
- unsigned color;
+ unsigned color
= 0
;
util_pack_color(rgba, ps->format, &color);
pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, color);