projects
/
sdk
/
emulator
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync with latest
[sdk/emulator/qemu.git]
/
tizen
/
src
/
hw
/
gloffscreen_xcomposite.c
diff --git
a/tizen/src/hw/gloffscreen_xcomposite.c
b/tizen/src/hw/gloffscreen_xcomposite.c
index
63beae8
..
7c04331
100644
(file)
--- a/
tizen/src/hw/gloffscreen_xcomposite.c
+++ b/
tizen/src/hw/gloffscreen_xcomposite.c
@@
-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);