]> git.cworth.org Git - apitrace/blobdiff - glws_egl_xlib.cpp
Move tracers to wrappers subdirectory.
[apitrace] / glws_egl_xlib.cpp
index c1cb0d9dc626f9b126eae00c1d9aa53a83d011c9..66557815017fda939a5edc4e622b84c7e0ee7459 100644 (file)
@@ -150,7 +150,9 @@ public:
 
     ~EglDrawable() {
         eglDestroySurface(eglDisplay, surface);
+        eglWaitClient();
         XDestroyWindow(display, window);
+        eglWaitNative(EGL_CORE_NATIVE_ENGINE);
     }
 
     void