From 53e79898a4f9fd0e0dda670a42330f4126c0ae91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 24 Oct 2011 13:23:07 -0400 Subject: [PATCH] drm: Remove unneccesary drm_output_prepare_render() call --- compositor/compositor-drm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/compositor/compositor-drm.c b/compositor/compositor-drm.c index 94a7b894..1a1b920e 100644 --- a/compositor/compositor-drm.c +++ b/compositor/compositor-drm.c @@ -99,8 +99,6 @@ drm_output_present(struct wlsc_output *output_base) (struct drm_compositor *) output->base.compositor; uint32_t fb_id = 0; - if (drm_output_prepare_render(&output->base)) - return -1; glFlush(); output->current ^= 1;