From f1f5b36aeb86b877a853a15cfe241ff38b3a1d08 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 25 Jan 2012 14:33:33 +0200 Subject: [PATCH] compositor-drm: do not scan out transformed surfaces Not sure this check belongs here, but as the position checks are here too, I added this. Just so we don't forget. Signed-off-by: Pekka Paalanen --- src/compositor-drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 95669b84..3adac880 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -101,6 +101,7 @@ drm_output_prepare_scanout_surface(struct drm_output *output) es->geometry.y != output->base.y || es->width != output->base.current->width || es->height != output->base.current->height || + es->transform.enabled || es->image == EGL_NO_IMAGE_KHR) return -1;