renderer: Fix initialization warning

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Elie Tournier 6 years ago committed by Jakob Bornecrantz
parent 3ed2781420
commit 612d8cef60
  1. 3
      src/vrend_renderer.c

@ -2931,7 +2931,8 @@ static int vrend_shader_select(struct vrend_context *ctx,
return 0;
if (sel->num_shaders > 1) {
struct vrend_shader *p = sel->current, *c = p->next_variant;
struct vrend_shader *p = sel->current;
struct vrend_shader *c = p->next_variant;
while (c && memcmp(&c->key, &key, sizeof(key)) != 0) {
p = c;
c = c->next_variant;

Loading…
Cancel
Save