rbug: Silence warning
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
1c17745200
commit
c076882fbd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue