projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c17745
)
rbug: Silence warning
author
Jakob Bornecrantz
<jakob@vmware.com>
Mon, 9 Jan 2012 13:53:42 +0000
(14:53 +0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 11 Jan 2012 20:53:23 +0000
(21:53 +0100)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by Brian Paul <brianp@vmware.com>
src/gallium/drivers/rbug/rbug_core.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/rbug/rbug_core.c
b/src/gallium/drivers/rbug/rbug_core.c
index b80bcd4228fee5357546220f6b8df26a4070f3b4..253d21bbc1e7cfe801345783fb8d4515cd56d299 100644
(file)
--- a/
src/gallium/drivers/rbug/rbug_core.c
+++ b/
src/gallium/drivers/rbug/rbug_core.c
@@
-104,7
+104,8
@@
rbug_shader_create_locked(struct pipe_context *pipe,
struct tgsi_token *tokens)
{
void *state = NULL;
- struct pipe_shader_state pss = { 0 };
+ struct pipe_shader_state pss;
+ memset(&pss, 0, sizeof(pss));
pss.tokens = tokens;
switch(rb_shader->type) {