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

Kristian Hoegsberg hoegsberg at gmail.com
Thu Apr 19 11:53:22 PDT 2012


On Thu, Apr 19, 2012 at 10:08:59AM +0800, zhiwen.wu at linux.intel.com wrote:
> From: Alex Wu <zhiwen.wu at linux.intel.com>

Oh yeah, that one is hard to get to.

Kristian

> ---
>  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