From 9002fd8ac70e949969cc5d413affda5376873030 Mon Sep 17 00:00:00 2001 From: "Fengqian.Gao" Date: Sun, 28 Apr 2013 22:44:57 +0800 Subject: [PATCH] FtApp stability issue got fixed. Add code to release glXPixmap resource --- tizen/src/hw/gloffscreen_xcomposite.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tizen/src/hw/gloffscreen_xcomposite.c b/tizen/src/hw/gloffscreen_xcomposite.c index f34e627ede..de2f14c336 100644 --- a/tizen/src/hw/gloffscreen_xcomposite.c +++ b/tizen/src/hw/gloffscreen_xcomposite.c @@ -364,6 +364,10 @@ void glo_surface_destroy(GloSurface *surface) { if(surface->pixmap) XFreePixmap( glo.dpy, surface->pixmap); + + if(surface->glxPixmap) + glXDestroyPixmap( glo.dpy, surface->glxPixmap); + XDestroyWindow( glo.dpy, surface->window); if(surface->image) glo_surface_free_xshm_image(surface); -- 2.34.1