diff options
author | Keith Packard <keithp@keithp.com> | 2014-12-08 12:59:31 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-12-09 08:48:46 -0800 |
commit | 8aa23f27c7e29c62d23867440b0bb00fc288b5ba (patch) | |
tree | c88ca4762fa3389d44c18afe357e6f95cd1c2e6a /glx/single2swap.c | |
parent | c22433d55ea16e4879b092ee28d284fc895c9956 (diff) |
glamor: Free existing EGL image when assigning new one
When reallocating the framebuffer on screen resize, the old EGL image
was getting leaked. Check for an existing EGL image and free it in
this case.
Signed-off-by: Keith Packard <keithp@keithp.com>
Revewied-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glx/single2swap.c')
0 files changed, 0 insertions, 0 deletions