From: Fengqian.Gao Date: Sun, 28 Apr 2013 14:44:57 +0000 (+0800) Subject: FtApp stability issue got fixed. Add code to release glXPixmap resource X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~988 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9002fd8ac70e949969cc5d413affda5376873030;p=sdk%2Femulator%2Fqemu.git FtApp stability issue got fixed. Add code to release glXPixmap resource --- 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);