projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074e069
)
trace: Handle transfer returning null
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 14 Oct 2009 09:44:09 +0000
(11:44 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 14 Oct 2009 09:44:09 +0000
(11:44 +0200)
src/gallium/drivers/trace/tr_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/trace/tr_screen.c
b/src/gallium/drivers/trace/tr_screen.c
index
ab605c7
..
7da9bd3
100644
(file)
--- a/
src/gallium/drivers/trace/tr_screen.c
+++ b/
src/gallium/drivers/trace/tr_screen.c
@@
-366,7
+366,8
@@
trace_screen_get_tex_transfer(struct pipe_screen *_screen,
trace_dump_call_end();
- result = trace_transfer_create(tr_tex, result);
+ if (result)
+ result = trace_transfer_create(tr_tex, result);
return result;
}