[PATCH] compositor-drm: Remove an useless code line.

zhiwen.wu at linux.intel.com zhiwen.wu at linux.intel.com
Wed Apr 18 19:08:59 PDT 2012


From: Alex Wu <zhiwen.wu at linux.intel.com>

---
 src/compositor-drm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 8aab840..837da8c 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1319,7 +1319,6 @@ create_output_for_connector(struct drm_compositor *ec,
 
 	return 0;
 
-	eglDestroySurface(ec->base.display, output->egl_surface);
 err_surface:
 	gbm_surface_destroy(output->surface);
 err_free:
-- 
1.7.5.4



More information about the wayland-devel mailing list