mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +00:00
[client] egl: fix framebuffer leaking textures
This commit is contained in:
parent
e5f2b3079e
commit
5225d2e97f
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ void egl_framebufferFree(EGL_Framebuffer ** fb)
|
||||||
{
|
{
|
||||||
EGL_Framebuffer * this = *fb;
|
EGL_Framebuffer * this = *fb;
|
||||||
|
|
||||||
|
egl_textureFree(&this->tex);
|
||||||
free(this);
|
free(this);
|
||||||
*fb = NULL;
|
*fb = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue