sync with latest
[sdk/emulator/qemu.git] / tizen / src / hw / gloffscreen_xcomposite.c
index 63beae8..7c04331 100644 (file)
@@ -368,6 +368,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);