projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349c168
)
auxiliary: Initialize variable.
author
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 05:45:18 +0000
(22:45 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 05:45:18 +0000
(22:45 -0700)
src/gallium/auxiliary/util/u_surfaces.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_surfaces.c
b/src/gallium/auxiliary/util/u_surfaces.c
index ddfc7a9d28c0e5f6800a8e27cb180591813b046d..39cb4e15da9ad684a54ae4071d9dfafb6c72c694 100644
(file)
--- a/
src/gallium/auxiliary/util/u_surfaces.c
+++ b/
src/gallium/auxiliary/util/u_surfaces.c
@@
-22,7
+22,7
@@
struct pipe_surface *
util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, struct pipe_screen *pscreen, struct pipe_resource *pt, unsigned face, unsigned level, unsigned zslice, unsigned flags)
{
struct pipe_surface *ps;
- void *key;
+ void *key
= NULL
;
if(pt->target == PIPE_TEXTURE_3D || pt->target == PIPE_TEXTURE_CUBE)
{ /* or 2D array */