projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc770e0
)
util/debug: Initialise local variables.
author
Michal Krol
<michal@vmware.com>
Fri, 3 Apr 2009 12:58:39 +0000
(14:58 +0200)
committer
Michal Krol
<michal@vmware.com>
Fri, 3 Apr 2009 12:59:25 +0000
(14:59 +0200)
src/gallium/auxiliary/util/u_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug.c
b/src/gallium/auxiliary/util/u_debug.c
index 1b984425b598072f4994a9197d75fe3d51d058c1..96a2222f9b680ae9c3d10cbad11ac57bcaaf9949 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug.c
+++ b/
src/gallium/auxiliary/util/u_debug.c
@@
-720,8
+720,8
@@
debug_dump_surface_bmp(const char *filename,
struct pipe_surface *surface)
{
struct pipe_transfer *transfer;
- struct pipe_texture *texture;
- struct pipe_screen *screen;
+ struct pipe_texture *texture
= surface->texture
;
+ struct pipe_screen *screen
= texture->screen
;
transfer = screen->get_tex_transfer(screen, texture, surface->face,
surface->level, surface->zslice,