summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2012-01-09 14:53:42 +0100
committerJakob Bornecrantz <[email protected]>2012-01-11 21:53:23 +0100
commitc076882fbd933e973dfd079289f8e9d7deb7b0dd (patch)
tree64b3fbdcbd905ef68e7b4b93ff5cdaecb2a380e2 /src/gallium/drivers/rbug
parent1c177452005a0366db01629d875da553f7949ddd (diff)
rbug: Silence warning
Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r--src/gallium/drivers/rbug/rbug_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c
index b80bcd4228f..253d21bbc1e 100644
--- 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) {