Skip to content

Commit

Permalink
fix(egl surface): zero-initialize n_locked_fbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ardera committed Sep 7, 2023
1 parent 8b19d71 commit d62e843
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/egl_gbm_render_surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ static int egl_gbm_render_surface_init(
}
s->locked_front_fb = NULL;
#ifdef DEBUG
s->n_locked_fbs = 0;
s->logged_format_and_modifier = false;
#endif
return 0;
Expand Down

0 comments on commit d62e843

Please sign in to comment.