FtApp stability issue got fixed. Add code to release glXPixmap resource
authorFengqian.Gao <Fengqian.gao@intel.com>
Sun, 28 Apr 2013 14:44:57 +0000 (22:44 +0800)
committersungmin ha <sungmin82.ha@samsung.com>
Mon, 29 Apr 2013 05:05:06 +0000 (14:05 +0900)
tizen/src/hw/gloffscreen_xcomposite.c

index f34e627ede88b0a96a6d95f4914c097a1997e4e2..de2f14c336bfd068fad2ff24e270dd0fa8165ba9 100644 (file)
@@ -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);