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 <ppaalanen@gmail.com>
dev
Pekka Paalanen 13 years ago
parent ba3cf95c0e
commit f1f5b36aeb
  1. 1
      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;

Loading…
Cancel
Save