projects
/
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 ab605c7fc8761bcf155636c004139cdffec31bc6..7da9bd3866ba8e6b2c82713db3b7b0a0ccc20c47 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;
}